Skip to content

Commit

Permalink
Use int prng (since we're only testing uints)
Browse files Browse the repository at this point in the history
  • Loading branch information
j-towns committed Apr 23, 2020
1 parent 322a04e commit a30eaec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/lax_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def op_record(op, nargs, dtypes, rng_factory, tol=None):
op_record("bitwise_not", 1, bool_dtypes, jtu.rand_small),
op_record("bitwise_or", 2, bool_dtypes, jtu.rand_small),
op_record("bitwise_xor", 2, bool_dtypes, jtu.rand_small),
op_record("population_count", 1, uint_dtypes, jtu.rand_small),
op_record("population_count", 1, uint_dtypes, partial(jtu.rand_int, 1 << 32)),

op_record("add", 2, default_dtypes + complex_dtypes, jtu.rand_small),
op_record("sub", 2, default_dtypes + complex_dtypes, jtu.rand_small),
Expand Down

0 comments on commit a30eaec

Please sign in to comment.