Skip to content

Commit

Permalink
Alias np.float deprecated in modern numpy versions
Browse files Browse the repository at this point in the history
  • Loading branch information
ollyfutur committed Mar 20, 2024
1 parent 2212ecb commit f28ab02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion barnaba/kde.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ def evaluate(self, points):
self.d)
raise ValueError(msg)

result = zeros((m,), dtype=np.float)
result = zeros((m,), dtype=float)

if m >= self.n:
# there are more points than data, so loop over data
Expand Down

0 comments on commit f28ab02

Please sign in to comment.