Commit e070c517 authored by Stephan Seitz's avatar Stephan Seitz
Browse files

Fix code example in README.rst

parent 2e5fa980
Pipeline #17314 failed with stage
in 2 minutes and 19 seconds
......@@ -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])
......
......@@ -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])
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment