Merge pull request #471 from totto82/fixOilPvtMult

make oilReferenceDensity const
This commit is contained in:
Tor Harald Sandve
2021-09-20 08:21:45 +02:00
committed by GitHub

View File

@@ -180,7 +180,7 @@ public:
/*!
* \brief Return the reference density which are considered by this PVT-object.
*/
const Scalar oilReferenceDensity(unsigned regionIdx)
const Scalar oilReferenceDensity(unsigned regionIdx) const
{ OPM_OIL_PVT_MULTIPLEXER_CALL(return pvtImpl.oilReferenceDensity(regionIdx)); return 700.; }
/*!