Skip to content

Commit 507e0ff

Browse files
author
Keith Roberts
authored
Update Receivers.py
1 parent 14ac9af commit 507e0ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spyro/receivers/Receivers.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ def __func_receiver_locator_2D(self):
156156
for receiver_id in range(num_recv):
157157
(receiver_z, receiver_x) = self.receiver_locations[receiver_id]
158158

159-
cell_id = self.mesh.locate_cell([receiver_z, receiver_x], xerance=0.0100)
159+
cell_id = self.mesh.locate_cell([receiver_z, receiver_x], tolerance=0.0100)
160160
cellId_maps[receiver_id] = cell_id
161161
cellNodeMaps[receiver_id, :] = cell_node_map[cell_id, :]
162162

0 commit comments

Comments
 (0)