-
Notifications
You must be signed in to change notification settings - Fork 18
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
Jax example not working #44
Comments
I can reproduce a similar error directly with jax-cosmo:
Traceback:
|
I am using the latest ( |
Arf.... this again. Happened in the past when JAX changed internally the way they handle some indices. Are you running on the lastest JAX version? |
Yes, the latest available via pypi which is 0.1.76. |
ok, I'm updating my JAX version and trying to reproduce that |
Sorry took a while to reinstall everything on my new work machine. The culprit is that the sign function in JAX is no longer preserving the int type of the input :-| |
Yes, it works now, thanks! |
I am trying to run the jax example via:
However, this fails when calculating the score. I put the full traceback below, but I think is in the jax-cosmo chi calculation:
Full traceback (note that the index arrray is float for some reason):
The text was updated successfully, but these errors were encountered: