Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
pycodegen
pystencils_autodiff
Commits
e070c517
Commit
e070c517
authored
Aug 17, 2019
by
Stephan Seitz
Browse files
Fix code example in README.rst
parent
2e5fa980
Pipeline
#17314
failed with stage
in 2 minutes and 19 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
README.rst
View file @
e070c517
...
...
@@ -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])
...
...
docs/index.rst
View file @
e070c517
...
...
@@ -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])
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment