mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-10-14 18:02:01 -05:00
[cleanup] make code compile when Scalar is non POD type.
This commit is contained in:
1 parent
2aada96d8c
commit
7699ed59db
1 file changed
+3
@@ -1352,6 +1352,9 @@ protected:
|
||||
computeVolumetricDofRates_<Scalar, Scalar>(volumetricReservoirRates, bottomHolePressure, *tmp);
|
||||
|
||||
std::array<Scalar, numPhases> volumetricSurfaceRates;
|
||||
for (unsigned phaseIdx = 0; phaseIdx < numPhases; ++phaseIdx) {
|
||||
volumetricSurfaceRates[ phaseIdx ] = 0;
|
||||
}
|
||||
computeSurfaceRates_(volumetricSurfaceRates, volumetricReservoirRates, *tmp);
|
||||
|
||||
for (unsigned phaseIdx = 0; phaseIdx < numPhases; ++phaseIdx) {
|
||||
|
||||
Reference in new issue
Block a user