diff --git a/pystencils/rng.py b/pystencils/rng.py index 91cccaeef11a9f30d29bfc2cae33779877ecca9e..88890a9473d846deea83ad6c90054b221d1b1ca5 100644 --- a/pystencils/rng.py +++ b/pystencils/rng.py @@ -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)