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 running pytest -vx ./tests -k TestDeterministicSeed with 0d3fb95, I got a warning like:
tests/test_deterministic_seed.py::TestDeterministicSeed::test_FullChain_DifferentSeed
/home/xudc/fuse/fuse/plugins/detector_physics/s2_photon_propagation.py:987: NumbaPerformanceWarning: '@' is faster on contiguous arrays, called on (Array(float64, 2, 'A', False, aligned=True), Array(float64, 2, 'A', False, aligned=True))
result[start_idx[i]: stop_idx[i]] = (matrix[i] @ split_hdiff[i].T).T
The text was updated successfully, but these errors were encountered:
dachengx
changed the title
Fix NumbaPerformanceWarning: '@' is faster on contiguous arrays
Fix "NumbaPerformanceWarning: '@' is faster on contiguous arrays"
Jan 23, 2024
When running
pytest -vx ./tests -k TestDeterministicSeed
with 0d3fb95, I got a warning like:The text was updated successfully, but these errors were encountered: