Skip to content

Commit

Permalink
removed deprecated/removed np.float in fitting.linfit()
Browse files Browse the repository at this point in the history
- fix #28
- update CHANGES
  • Loading branch information
orbeckst committed Mar 13, 2023
1 parent 0c696fa commit ac47d36
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ orbeckst
* added support/testing for Python 3.10 and 3.11
* dropped support/testing for Python 3.6
* changed repository master -> main branch (#26)
* fixed deprecated/removed np.float in numkit.fitting.linfit() (#28)


2021-09-01 1.2.2
Expand Down
2 changes: 1 addition & 1 deletion src/numkit/fitting.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def linfit(x,y,dy=None):
have_dy = False

if not have_dy:
dy = numpy.ones((n),numpy.float)
dy = numpy.ones((n), numpy.float64)

x = numpy.asarray(x)
y = numpy.asarray(y)
Expand Down

0 comments on commit ac47d36

Please sign in to comment.