Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Stephan Seitz
pystencils
Commits
b09ba860
Commit
b09ba860
authored
Sep 04, 2019
by
Michael Kuron
Browse files
Actually increment counter inside random_symbol
parent
745be03a
Changes
1
Hide whitespace changes
Inline
Side-by-side
pystencils/rng.py
View file @
b09ba860
...
...
@@ -111,3 +111,4 @@ def random_symbol(assignment_list, seed=TypedSymbol("seed", np.uint32), rng_node
assignment_list
.
insert
(
0
,
node
)
inserted
=
True
yield
symbol
counter
+=
1
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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