Fixed some compiler warnings

This commit is contained in:
Jacob Støren 2014-06-24 16:53:53 +02:00 committed by Magne Sjaastad
parent 082adb174f
commit 549e61af77

View File

@ -73,6 +73,8 @@ bool readDoubleValues(RigCaseData* reservoir, size_t resultIndex, ecl_kw_type* e
newPropertyData.push_back(std::vector<double>());
newPropertyData[0].resize(ecl_kw_get_size(eclKeyWordData), HUGE_VAL);
ecl_kw_get_data_as_double(eclKeyWordData, newPropertyData[0].data());
return true;
}
//--------------------------------------------------------------------------------------------------
@ -110,6 +112,8 @@ bool readDoubleValuesForActiveCells(RigCaseData* reservoir, size_t resultIndex,
newPropertyData[0].resize(ecl_kw_get_size(eclKeyWordData), HUGE_VAL);
ecl_kw_get_data_as_double(eclKeyWordData, newPropertyData[0].data());
}
return true;
}