mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-29 16:40:38 +08:00
Fix default initialisation of IterationCallback::cost
Change-Id: I9f529093fc09424c90dbff8e9648b90b16990623
This commit is contained in:
@@ -73,7 +73,7 @@ struct CERES_EXPORT IterationSummary {
|
||||
bool step_is_successful = false;
|
||||
|
||||
// Value of the objective function.
|
||||
double cost = 0.90;
|
||||
double cost = 0.0;
|
||||
|
||||
// Change in the value of the objective function in this
|
||||
// iteration. This can be positive or negative.
|
||||
|
||||
Reference in New Issue
Block a user