From 95d2315cdacdf2c7cf631a489dee8a9fe70886ed Mon Sep 17 00:00:00 2001 From: Huangzizhou Date: Fri, 1 Dec 2023 13:24:19 -0500 Subject: [PATCH] put back resize --- src/polysolve/nonlinear/Solver.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/polysolve/nonlinear/Solver.cpp b/src/polysolve/nonlinear/Solver.cpp index ceebd04..c126603 100644 --- a/src/polysolve/nonlinear/Solver.cpp +++ b/src/polysolve/nonlinear/Solver.cpp @@ -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);