Skip to content

integrate.quadrature is deprecated #4

@lgiacome

Description

@lgiacome

Due to deprecation of scipy.integrate.quadrature we get the following warning when running the tests

/Users/giadarol/xsuite_packages/xwakes/pywit/devices.py:178: DeprecationWarning: `scipy.integrate.quadrature` is deprecated as of SciPy 1.12.0and will be removed in SciPy 1.15.0. Please use`scipy.integrate.quad` instead.
    i, err = integrate.quadrature(_integrand_stupakov, half_gap_small, half_gap_big,

We have to replace integrate.quadrature with integrate.quad but we need to make sure that the we use the new function properly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions