Commit e58b4866 authored by Bernd Flemisch's avatar Bernd Flemisch
Browse files

properly initialize local variables to avoid warnings for optimization options

git-svn-id: svn:// 2fb0f335-1f38-0410-981e-8018bf24f1b0
parent 25d7f81e
......@@ -73,7 +73,9 @@ public:
criticalPressure_.resize(aMin, aMax, na, bMin, bMax, nb);
criticalMolarVolume_.resize(aMin, aMax, na, bMin, bMax, nb);
Scalar VmCrit, pCrit, TCrit;
Scalar VmCrit = 18e-6;
Scalar pCrit = 1e7;
Scalar TCrit = 273;
for (int i = 0; i < na; ++i) {
Scalar a = criticalTemperature_.iToX(i);
for (int j = 0; j < nb; ++j) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment