From e070c517a90ef7f0567db999557415ad83b508e8 Mon Sep 17 00:00:00 2001 From: Stephan Seitz <stephan.seitz@fau.de> Date: Sat, 17 Aug 2019 20:48:48 +0200 Subject: [PATCH] Fix code example in README.rst --- README.rst | 2 +- docs/index.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index 842cb44..abd8802 100644 --- a/README.rst +++ b/README.rst @@ -48,7 +48,7 @@ Create a `pystencils.AssignmentCollection` with pystencils: import sympy import pystencils - z, x, y = pystencils.fields("z, y, x: [20,30]") + z, y, x = pystencils.fields("z, y, x: [20,30]") forward_assignments = pystencils.AssignmentCollection({ z[0, 0]: x[0, 0] * sympy.log(x[0, 0] * y[0, 0]) diff --git a/docs/index.rst b/docs/index.rst index bb39e06..e8585c3 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -38,7 +38,7 @@ Create a :class:`pystencils.AssignmentCollection` with pystencils: import sympy import pystencils - z, x, y = pystencils.fields("z, y, x: [20,30]") + z, y, x = pystencils.fields("z, y, x: [20,30]") forward_assignments = pystencils.AssignmentCollection({ z[0, 0]: x[0, 0] * sympy.log(x[0, 0] * y[0, 0]) -- GitLab