Skip to content

Commit

Permalink
add allow_out_of_iterations
Browse files Browse the repository at this point in the history
  • Loading branch information
Huangzizhou committed Dec 7, 2023
1 parent f9fde04 commit 6be499c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/polysolve/nonlinear/Solver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@ namespace polysolve::nonlinear
this->setStopCriteria(criteria);

use_grad_norm_tol = solver_params["line_search"]["use_grad_norm_tol"];

first_grad_norm_tol = solver_params["first_grad_norm_tol"];
allow_out_of_iterations = solver_params["allow_out_of_iterations"];

use_grad_norm_tol *= characteristic_length;
first_grad_norm_tol *= characteristic_length;
Expand Down

0 comments on commit 6be499c

Please sign in to comment.