Commit ad26bd81 authored by Martin Bauer's avatar Martin Bauer
Browse files

Merge branch 'random_symbol' into 'master'

Actually increment counter inside random_symbol

See merge request pycodegen/pystencils!49
parents 745be03a 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
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