Skip to content

Commit

Permalink
fixup! Cleanup includes
Browse files Browse the repository at this point in the history
  • Loading branch information
dweindl committed Dec 13, 2023
1 parent a59b9fc commit 07fb861
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parpeoptimization/optimizationProblem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ void OptimizationReporter::finished(double optimalCost,
// the optimal parameters from the optimizer. since we don't know them, rather set to nan
if (logger_)
logger_->logmessage(loglevel::info, "cachedCost != optimalCost && parameters.empty()");
cached_parameters_.assign(cached_parameters_.size(), NAN);
cached_parameters_.assign(cached_parameters_.size(), std::numeric_limits<double>::quiet_NaN());
cached_cost_ = optimalCost;
} // else: our cached parameters were better. use those

Expand Down

0 comments on commit 07fb861

Please sign in to comment.