Skip to content

Commit 50ebcaf

Browse files
committed
create_diagonal and sinc under jax.jit
1 parent f003550 commit 50ebcaf

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Diff for: tests/test_funcs.py

+2-4
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,14 @@
3232

3333
lazy_xp_function(atleast_nd, static_argnames=("ndim", "xp"))
3434
lazy_xp_function(cov, static_argnames="xp")
35-
# FIXME .device attribute https://github.com/data-apis/array-api-compat/pull/238
36-
lazy_xp_function(create_diagonal, jax_jit=False, static_argnames=("offset", "xp"))
35+
lazy_xp_function(create_diagonal, static_argnames=("offset", "xp"))
3736
lazy_xp_function(expand_dims, static_argnames=("axis", "xp"))
3837
lazy_xp_function(kron, static_argnames="xp")
3938
lazy_xp_function(nunique, static_argnames="xp")
4039
lazy_xp_function(pad, static_argnames=("pad_width", "mode", "constant_values", "xp"))
4140
# FIXME calls in1d which calls xp.unique_values without size
4241
lazy_xp_function(setdiff1d, jax_jit=False, static_argnames=("assume_unique", "xp"))
43-
# FIXME .device attribute https://github.com/data-apis/array-api-compat/pull/238
44-
lazy_xp_function(sinc, jax_jit=False, static_argnames="xp")
42+
lazy_xp_function(sinc, static_argnames="xp")
4543

4644

4745
@pytest.mark.xfail_xp_backend(Backend.SPARSE, reason="no expand_dims")

0 commit comments

Comments
 (0)