mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
[cleanup] make code compile when Scalar is non POD type.
This commit is contained in:
@@ -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