silx icon indicating copy to clipboard operation
silx copied to clipboard

Dependencies: Fixed numpy v2 deprecation warnings

Open t20100 opened this issue 1 year ago • 0 comments
trafficstars

Checklist:


Merge PR #4102 first!

This PR fixes deprecations warnings raised while testing silx with numpy 2 for PR #4082 (some of the deprecation warnings were also raised by numpy 1.26):

  • numpy.trapz renamed to trapezoid
  • numpy.cross no longer supports 2d-vector input
  • No longer possible to convert an array to a scalar (e.g., float(np.array([0])))

Closes #4097

@kif, @pierrepaleo please cautiously check the change in sift/alignment.

t20100 avatar Apr 04 '24 09:04 t20100