Skip to content

Numpy deprecation warning for RT tests #27

Description

@yoricklassmann

Hi @JanosJiri, I have successfully compiled qdyn, and all tests passed. However, I am seeing that for some of the tests, numpy is complaining:

ABSOLUTE_PATH/qdyn/tests/RT_LaserPulse_CH3I_1D/check_ch3i.py:37: DeprecationWarning: `trapz` is deprecated.
Use `trapezoid` instead, or one of the numerical integration functions in `scipy.integrate`

It would be very easy to update, such that this warning is not written anymore, and the tests still run after numpy removes trapz in the future.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions