Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix numpy deprecation issues #28

Merged
merged 2 commits into from
Jun 7, 2023
Merged

Conversation

kdiers
Copy link
Collaborator

@kdiers kdiers commented Jun 7, 2023

From the numpy deprecation message (the same holds for np.int):

np.float was a deprecated alias for the builtin float. To avoid this error in existing code, use float by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use np.float64 here.

As a consequence, all occurences of np.float / np.int have been replaced with float / int.

@codecov-commenter
Copy link

Codecov Report

Merging #28 (d54accf) into main (1807c3c) will not change coverage.
The diff coverage is 0.00%.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

@@          Coverage Diff          @@
##            main     #28   +/-   ##
=====================================
  Coverage   5.29%   5.29%           
=====================================
  Files         14      14           
  Lines       2359    2359           
  Branches     306     306           
=====================================
  Hits         125     125           
  Misses      2231    2231           
  Partials       3       3           
Flag Coverage Δ
unittests 5.29% <0.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
lapy/func_io.py 0.00% <0.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@m-reuter m-reuter merged commit 205d0c7 into main Jun 7, 2023
@m-reuter m-reuter deleted the fix_numpy_deprecation_issues branch June 7, 2023 10:28
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