pylandau icon indicating copy to clipboard operation
pylandau copied to clipboard

Deprecation warning for Numpy 1.25

Open pfs opened this issue 1 month ago • 0 comments

Hello, when running the example provided for this nice package I get a deprecation warning after

y_landau = pylandau.langau(x)

the warning is the following:

<stdin>:1: DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)

I wonder if this has already been spotted and if there's someone already looking into it. Thank you, Pedro

pfs avatar Nov 07 '25 13:11 pfs