diff --git a/README.rst b/README.rst index 842cb444237e0032b0555520fd19a335ac514f72..abd8802826e390bce6ce6ae2024e31528ac5842d 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 bb39e0638b30bafca43e93fc3ee79abeab563434..e8585c33167704698fe1f1f0975a2992f1f61c82 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])