Skip to content

Commit

Permalink
np.NINF to -np.inf (np.NINF removed in numpy 2)
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Fish committed Jun 19, 2024
1 parent c5071cd commit 8b725b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ParProcCo/nxdata_aggregator.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def _initialise_arrays(self) -> None:
self._get_all_axes()

self.axes_mins = [np.inf] * self.data_dimensions
self.axes_maxs = [np.NINF] * self.data_dimensions
self.axes_maxs = [-np.inf] * self.data_dimensions

for axis_set in self.all_axes:
for j, axis in enumerate(axis_set):
Expand Down

0 comments on commit 8b725b7

Please sign in to comment.