Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kwargs in jnp.where are deprecated #178

Closed
oilyraisin opened this issue Jun 7, 2024 · 2 comments · Fixed by #183
Closed

Kwargs in jnp.where are deprecated #178

oilyraisin opened this issue Jun 7, 2024 · 2 comments · Fixed by #183
Assignees

Comments

@oilyraisin
Copy link

oilyraisin commented Jun 7, 2024

Can't use kwargs x and y, which are positional only for jax>=0.4.28. (or so my computer tells me)
e.g.

jnp.where(array==array, x=True, y=False)

should be

jnp.where(array==array, True, False)

@Lookatator
Copy link
Member

Thanks @oilyraisin for your comment, we'll take care of it very soon.
More generally, we are in the process of updating the code to make it compliant with the latest versions of JAX.

@Lookatator Lookatator self-assigned this Jun 9, 2024
@Lookatator
Copy link
Member

This has been solved in #187, will be merged in main very soon

@Lookatator Lookatator linked a pull request Sep 5, 2024 that will close this issue
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants