You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a new Quantity is created, the JAX array has the property weak_type=True. This causes errors in some of the pytests, since they expect arrays without this property. I'm not sure what the pros/cons of weak_typing these arrays is, is this the desired behaviour? Based on testing done in #307.
The text was updated successfully, but these errors were encountered:
Weak typing is great! In JAX, weak typing means it's minimizing type conversions while still following Python’s / numpy's built-in numeric types. The weak type gets resolved when promotion is required.
Now making sure that unxt consistently produces weak/strong types across tests / versions / PRs, that's important!
When a new Quantity is created, the JAX array has the property
weak_type=True
. This causes errors in some of the pytests, since they expect arrays without this property. I'm not sure what the pros/cons of weak_typing these arrays is, is this the desired behaviour? Based on testing done in #307.The text was updated successfully, but these errors were encountered: