Skip to content

small obervation on line no 927 in real_intval.py #27

Open
@mvnayagam

Description

@mvnayagam

Dear Androsov,
I recently updated intvalpy. I use the latest numpy. Initially I got error

AttributeError: np.float_ was removed in the NumPy 2.0 release. Use np.float64 instead.

I changed the line no 927 in real_intval.py

single_type = (int, float, np.int, np.float_, mpf)

to

single_type = (int, float, int, np.float64, mpf).

after this correction, I got rid of the above error.

Thank you

Best regards
Muthu

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions