Skip to content

Commit

Permalink
less random
Browse files Browse the repository at this point in the history
  • Loading branch information
teseoch committed Oct 18, 2023
1 parent 3c95d97 commit 66a559f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_nonlinear_solver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,7 @@ void test_solvers(const std::vector<std::string> &solvers, const int iters, cons
if (exceptions_are_errors)
{
x.setRandom();
x /= 10;
x += prob->solutions()[0];
}

Expand Down Expand Up @@ -322,6 +323,7 @@ void test_solvers(const std::vector<std::string> &solvers, const int iters, cons
if (exceptions_are_errors)
{
x.setRandom();
x /= 10;
x += prob->solutions()[0];
}
else
Expand Down

0 comments on commit 66a559f

Please sign in to comment.