Skip to content

Commit f685139

Browse files
committed
test: fix testClipStaticBounds complex warning
1 parent 77db7a6 commit f685139

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/lax_numpy_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -862,7 +862,7 @@ def testPolyfit(self, shape, dtype, deg, rcond, full, w, cov):
862862
(np.full(1, -0.9), np.ones(1))]
863863
],
864864
shape=all_shapes,
865-
dtype=number_dtypes,
865+
dtype=float_dtypes + int_dtypes + unsigned_dtypes,
866866
)
867867
@jax.numpy_rank_promotion('allow') # This test explicitly exercises implicit rank promotion.
868868
@jax.numpy_dtype_promotion('standard') # This test explicitly exercises mixed type promotion

0 commit comments

Comments
 (0)