Skip to content

Commit

Permalink
Merge pull request #80 from SamuelBorden/main
Browse files Browse the repository at this point in the history
Removed deprecated np.float_ calls
  • Loading branch information
gipert authored Aug 12, 2024
2 parents 30babe7 + a9dd693 commit a9e1e9f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/dspeed/processors/get_multi_local_extrema.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,10 @@ def get_multi_local_extrema(
n_min_right_counter = 0

# initialize temporary arrays
left_vt_max = np.zeros(len(vt_max_out), dtype=np.float_)
left_vt_min = np.zeros(len(vt_min_out), dtype=np.float_)
right_vt_max = np.zeros(len(vt_max_out), dtype=np.float_)
right_vt_min = np.zeros(len(vt_min_out), dtype=np.float_)
left_vt_max = np.zeros(len(vt_max_out), dtype=np.float64)
left_vt_min = np.zeros(len(vt_min_out), dtype=np.float64)
right_vt_max = np.zeros(len(vt_max_out), dtype=np.float64)
right_vt_min = np.zeros(len(vt_min_out), dtype=np.float64)

left_vt_max[:] = np.nan
left_vt_min[:] = np.nan
Expand Down

0 comments on commit a9e1e9f

Please sign in to comment.