take care of uninitialized value warning during compilation

This commit is contained in:
Ingmar Schoegl 2019-04-22 09:32:27 -05:00 committed by Ray Speth
parent 360ac9b79e
commit bbab606a20

View file

@ -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;