diff --git a/sostrades_optimization_plugins/tests/l1_test_gradient_sellar_optim_subprocess.py b/sostrades_optimization_plugins/tests/l1_test_gradient_sellar_optim_subprocess.py index 66ab92d..ceb017d 100644 --- a/sostrades_optimization_plugins/tests/l1_test_gradient_sellar_optim_subprocess.py +++ b/sostrades_optimization_plugins/tests/l1_test_gradient_sellar_optim_subprocess.py @@ -333,7 +333,7 @@ def test_06_gradient_subprocess_flatten_local_data_deepcopy(self): local_data_after_execute = coupling_disc.mdo_discipline_wrapp.mdo_discipline.local_data self.check_jacobian(location=dirname(__file__), filename=pkl_name, discipline=coupling_disc.mdo_discipline_wrapp.mdo_discipline, - step=1.0e-15, derr_approx='complex_step', threshold=1e-20, + step=1.0e-15, derr_approx='complex_step', threshold=1e-12, local_data=deepcopy(local_data_after_execute), inputs=inputs, outputs=outputs) @@ -428,7 +428,7 @@ def test_08_gradient_subprocess_flatten_local_data_deepcopy_high_step(self): local_data_after_execute = coupling_disc.mdo_discipline_wrapp.mdo_discipline.local_data self.check_jacobian(location=dirname(__file__), filename=pkl_name, discipline=coupling_disc.mdo_discipline_wrapp.mdo_discipline, - step=1.0e-3, derr_approx='complex_step', threshold=1e-20, + step=1.0e-3, derr_approx='complex_step', threshold=1e-09, local_data=deepcopy(local_data_after_execute), inputs=inputs, outputs=outputs)