Skip to content
This repository was archived by the owner on Feb 26, 2025. It is now read-only.

Commit ee9bd07

Browse files
Update l5pc example benchmark for numpy.float deprecation
1 parent e87c669 commit ee9bd07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/l5pc/benchmark/task_stats.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def plot_duration_histogram(tasks):
7171
durations = np.fromiter((t['duration']
7272
for task_list in tasks.values()
7373
for t in task_list),
74-
dtype=np.float)
74+
dtype=np.float64)
7575
plt.hist(durations, 100, range=(1, 160))
7676

7777
plt.xlabel('Duration (s)')

0 commit comments

Comments
 (0)