Skip to content

Commit

Permalink
fix uninnitialized warning
Browse files Browse the repository at this point in the history
  • Loading branch information
camelto2 committed Oct 4, 2021
1 parent ee35c16 commit bbfe24f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/QMCTools/DiracParser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -831,7 +831,7 @@ void DiracParser::getCOSCI(std::istream& is)
{
std::vector<double> ci_coeffs;
std::vector<std::string> ci_occs;
double energy;
double energy = 0.0;
while (getline(is, aline))
{
if (aline.size() == 0)
Expand Down

0 comments on commit bbfe24f

Please sign in to comment.