Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/python/geoclaw/dtopotools.py
Original file line number Diff line number Diff line change
Expand Up @@ -1069,7 +1069,7 @@ def containing_rect(self):

"""

extent = [numpy.infty, -numpy.infty, numpy.infty, -numpy.infty]
extent = [numpy.inf, -numpy.inf, numpy.inf, -numpy.inf]
for subfault in self.subfaults:
for corner in subfault.corners:
extent[0] = min(corner[0], extent[0])
Expand Down
4 changes: 2 additions & 2 deletions src/python/geoclaw/topotools.py
Original file line number Diff line number Diff line change
Expand Up @@ -386,8 +386,8 @@ def delta(self):
if self.unstructured:

# Calculate the smallest spacing between grid points
dx = numpy.infty
dy = numpy.infty
dx = numpy.inf
dy = numpy.inf
num_comparisons = self.x.shape[0] - 1
for i in range(self.x.shape[0]):
for j in range(num_comparisons):
Expand Down
Loading