python-neo icon indicating copy to clipboard operation
python-neo copied to clipboard

NumPy 2.0 and Quantities changes leading to changes in some array behaviors

Open zm711 opened this issue 1 year ago • 0 comments

After #1490, we had to adjust testing because NumPy 2.0 is upcasting everything to float64. This is expected behavior now, so this likely needs to be adjusted at the Quantities level which has a baseline dtype of float64 which causes everything to be cast to float64 in Neo even if we want something to be float32. We have currently changed the tests to account for this behavior change, but we want to remember to make the fixes here and upstream in quantities.

zm711 avatar Dec 13 '24 14:12 zm711