adaptive-intelligent-robotics / QDax

Accelerated Quality-Diversity
https://qdax.readthedocs.io/en/latest/
MIT License
258 stars 42 forks source link

Kwargs in jnp.where are deprecated #178

Closed oilyraisin closed 12 hours ago

oilyraisin commented 3 months ago

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 commented 2 months ago

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 commented 1 week ago

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