Skip to content

Commit

Permalink
take care of uninitialized value warning during compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
ischoegl committed May 16, 2019
1 parent 751afa3 commit b4be614
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/oneD/Sim1D.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ int Sim1D::setFixedTemperature(doublereal t)
{
int np = 0;
vector_fp znew, xnew;
doublereal zfixed;
doublereal zfixed = 0.0;
doublereal z1 = 0.0, z2 = 0.0, t1,t2;
size_t m1 = 0;
std::vector<size_t> dsize;
Expand Down

0 comments on commit b4be614

Please sign in to comment.