Commit 7d06580f authored by Michael Kuron's avatar Michael Kuron
Browse files

Seeding of RNG

parent 5c037c66
......@@ -119,7 +119,7 @@ class PhiloxFourFloats(CustomCodeNode):
def random_symbol(assignment_list, rng_node=PhiloxTwoDoubles, *args, **kwargs):
if 'keys' not in kwargs:
kwargs['keys'] = (0, 0)
kwargs['keys'] = (0, TypedSymbol("seed", np.uint32))
while True:
node = rng_node(*args, **kwargs)
......
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