Skip to content

Commit

Permalink
fixing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
teseoch committed Oct 19, 2023
1 parent 7b96913 commit 9c516c8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/polysolve/linear/SaddlePointSolver.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ namespace polysolve::linear
virtual void solve(const Ref<const VectorXd> b, Ref<VectorXd> x) override;

// Name of the solver type (for debugging purposes)
virtual std::string name() const override { return "SaddleProblemSolver"; }
virtual std::string name() const override { return "SaddlePointSolver"; }

private:
StiffnessMatrix Ain_;
Expand Down
4 changes: 2 additions & 2 deletions tests/test_nonlinear_solver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ void test_solvers(const std::vector<std::string> &solvers, const int iters, cons
if (exceptions_are_errors)
{
x.setRandom();
x /= 50;
x /= 10;
x += prob->solutions()[0];
}

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

0 comments on commit 9c516c8

Please sign in to comment.