Skip to content

Commit

Permalink
pass linear solver name to restoration algorithm, too
Browse files Browse the repository at this point in the history
  • Loading branch information
svigerske committed Mar 16, 2023
1 parent 928d5f5 commit a386f64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Algorithm/IpAlgBuilder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1003,7 +1003,7 @@ SmartPtr<LineSearch> AlgorithmBuilder::BuildLineSearch(

SmartPtr<IpoptAlgorithm> resto_alg = new IpoptAlgorithm(resto_SearchDirCalc, GetRawPtr(resto_LineSearch),
GetRawPtr(resto_MuUpdate), GetRawPtr(resto_convCheck), resto_IterInitializer, resto_IterOutput,
resto_HessUpdater, resto_EqMultCalculator);
resto_HessUpdater, resto_EqMultCalculator, linear_solver);

// Set the restoration phase
resto_phase = new MinC_1NrmRestorationPhase(*resto_alg, EqMultCalculator_);
Expand Down

0 comments on commit a386f64

Please sign in to comment.