diff --git a/tests/test_nonlinear_solver.cpp b/tests/test_nonlinear_solver.cpp index b595806..c44e4be 100644 --- a/tests/test_nonlinear_solver.cpp +++ b/tests/test_nonlinear_solver.cpp @@ -281,6 +281,7 @@ void test_solvers(const std::vector &solvers, const int iters, cons if (exceptions_are_errors) { x.setRandom(); + x /= 10; x += prob->solutions()[0]; } @@ -322,6 +323,7 @@ void test_solvers(const std::vector &solvers, const int iters, cons if (exceptions_are_errors) { x.setRandom(); + x /= 10; x += prob->solutions()[0]; } else