Skip to content

Commit 6c44ade

Browse files
committed
Update mvi test target after grad operator change
1 parent 0cec365 commit 6c44ade

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

simpeg_drivers/utils/regularization.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -421,6 +421,7 @@ def set_rotated_operators(
421421
active_faces = np.isclose(
422422
grad_op_active @ np.ones(function.regularization_mesh.n_cells), 0
423423
)
424+
active_faces &= grad_op_active.max(axis=1).toarray().ravel() != 0
424425

425426
setattr(
426427
function.regularization_mesh,

tests/run_tests/driver_mvi_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
# To test the full run and validate the inversion.
3737
# Move this file out of the test directory and run.
3838

39-
target_mvi_run = {"data_norm": 6.3559205278626525, "phi_d": 0.0091, "phi_m": 0.00603}
39+
target_mvi_run = {"data_norm": 6.3559205278626525, "phi_d": 0.00933, "phi_m": 0.00401}
4040

4141

4242
def test_magnetic_vector_fwr_run(

0 commit comments

Comments
 (0)