Skip to content

Commit cff7587

Browse files
jessegrabowskiricardoV94
authored andcommitted
Include signature in Blockwise tester RNG seed
1 parent 24a2234 commit cff7587

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/tensor/test_blockwise.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ class BlockwiseOpTester:
328328

329329
@classmethod
330330
def setup_class(cls):
331-
seed = sum(map(ord, str(cls.core_op)))
331+
seed = sum(map(ord, str(cls.core_op) + cls.signature))
332332
cls.rng = np.random.default_rng(seed)
333333
cls.params_sig, cls.outputs_sig = _parse_gufunc_signature(cls.signature)
334334
if cls.batcheable_axes is None:

0 commit comments

Comments
 (0)