Skip to content

Commit

Permalink
put back resize
Browse files Browse the repository at this point in the history
  • Loading branch information
Huangzizhou committed Dec 1, 2023
1 parent e7da69b commit 95d2315
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/polysolve/nonlinear/Solver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ namespace polysolve::nonlinear

void Solver::set_strategies_iterations(const json &solver_params)
{
m_iter_per_strategy.assign(m_strategies.size() + 1, 1);
if (solver_params["iterations_per_strategy"].is_array())
{
m_iter_per_strategy.resize(m_strategies.size() + 1);
Expand Down

0 comments on commit 95d2315

Please sign in to comment.