We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
LinesearchVariant::init()
1 parent 3885add commit cb3764bCopy full SHA for cb3764b
CHANGELOG.md
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
8
## [Unreleased]
9
10
+### Fixed
11
+
12
+- `LinesearchVariant::init()` should not be called unless the step accpetance strategy is a linesearch
13
14
## [0.10.0] - 2024-12-09
15
16
### Added
include/aligator/solvers/proxddp/solver-proxddp.hxx
@@ -147,7 +147,9 @@ void SolverProxDDPTpl<Scalar>::setup(const Problem &problem) {
147
if (!problem.checkIntegrity())
148
ALIGATOR_RUNTIME_ERROR("Problem failed integrity check.");
149
150
- linesearch_.init(sa_strategy_, ls_params);
+ if (int(sa_strategy_) <= 1) {
151
+ linesearch_.init(sa_strategy_, ls_params);
152
+ }
153
154
results_.~Results();
155
workspace_.~Workspace();
0 commit comments