Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/main' into handle_particle_dtypes
Browse files Browse the repository at this point in the history
  • Loading branch information
chrishavlin committed Jan 27, 2025
2 parents c3f8d0f + b75ef98 commit af7bb93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yt/_maintenance/numpy2_compat.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# np.trapz is deprecated in numpy 2.0 in favor of np.trapezoid
trapezoid = np.trapezoid
else:
trapezoid = np.trapz # type: ignore [attr-defined] # noqa: NPY201
trapezoid = np.trapz # type: ignore[assignment] # noqa: NPY201

0 comments on commit af7bb93

Please sign in to comment.