Skip to content

Commit

Permalink
Fix wrong arg
Browse files Browse the repository at this point in the history
  • Loading branch information
joschif committed Apr 4, 2023
1 parent 2e7cc0d commit a884811
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snapseed/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
def to_jax_array(x):
"""Turn matrix to jax array."""
if hasattr(x, "todense"):
return BCOO.from_scipy_sparse(matrix=x)
return BCOO.from_scipy_sparse(x)
else:
return jnp.array(x)

Expand Down

0 comments on commit a884811

Please sign in to comment.