Skip to content

Commit

Permalink
removed deprecated np.float_ calls
Browse files Browse the repository at this point in the history
  • Loading branch information
SamuelBorden committed Aug 12, 2024
1 parent 30babe7 commit a9dd693
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 a9dd693

Please sign in to comment.