Skip to content

Commit 94eadf6

Browse files
committed
Fix test
1 parent b73ef70 commit 94eadf6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

simpeg_drivers/utils/synthetics/surveys/time_domain/ground_tdem.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def generate_tdem_survey(
3434
vertices = np.column_stack([X.flatten(), Y.flatten(), Z.flatten()])
3535
center = np.mean(vertices, axis=0)
3636
if flatten:
37-
center[2] -= np.unique(Z)
37+
center[2] -= np.mean(Z)
3838
n_lines = X.shape[0]
3939
arrays = [
4040
np.c_[

0 commit comments

Comments
 (0)