Fix default initialisation of IterationCallback::cost

Change-Id: I9f529093fc09424c90dbff8e9648b90b16990623
This commit is contained in:
Alex Stewart
2020-09-28 18:54:33 +01:00
parent 137bbe8455
commit 1fd0be916d
+1 -1
View File
@@ -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.