Skip to content

Commit

Permalink
Merge pull request #26032 from gambka/uninitialized_var
Browse files Browse the repository at this point in the history
Avoid compiler warning due to uninitialized variable
  • Loading branch information
lindsayad authored Nov 11, 2023
2 parents 03eeb23 + 72d62ba commit 7e284a2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ GaussianProcessHandler::tuneHyperParamsAdam(const RealEigenMatrix & training_par
Real new_val;
Real m_hat;
Real v_hat;
Real store_loss;
Real store_loss = 0.0;
std::vector<Real> grad1;

// Initialize randomizer
Expand Down

0 comments on commit 7e284a2

Please sign in to comment.