Skip to content

Conversation

@robertdstein
Copy link

Since numpy v1.20, the use of aliases such as np.int have been deprecated (see e.g https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations). The recommended solution is to instead useint, which is equivalent. This PR replaces for four instances of np.int in sfdmap.py with int.

When I run the unit tests, I would previously get 38 warnings with numpy v1.22, but now get none.

@temuller
Copy link

@kbarbary I would really appreciate if this pull request is accepted!

@temuller
Copy link

@kbarbary could you please check this PR?

@mlincett
Copy link

Note that a fork is being maintained at https://github.com/AmpelAstro/sfdmap2

I have mentioned this in #2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants