Skip to content

Commit

Permalink
set default direction method
Browse files Browse the repository at this point in the history
  • Loading branch information
varunagrawal committed Oct 15, 2024
1 parent 8fd26a3 commit bc27d9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gtsam/nonlinear/NonlinearConjugateGradientOptimizer.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class GTSAM_EXPORT NonlinearConjugateGradientOptimizer

protected:
Parameters params_;
DirectionMethod directionMethod_;
DirectionMethod directionMethod_ = DirectionMethod::PolakRibiere;

const NonlinearOptimizerParams &_params() const override { return params_; }

Expand Down

0 comments on commit bc27d9f

Please sign in to comment.