Skip to content

Commit 675fdba

Browse files
author
jax authors
committed
Merge pull request #20665 from jakevdp:fix-clip-test
PiperOrigin-RevId: 623213147
2 parents 28b81be + f685139 commit 675fdba

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)