mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-11-26 03:00:17 -06:00
Use std::array instead of C arrays.
This commit is contained in:
parent
7551517401
commit
7981fb92e0
@ -447,8 +447,8 @@ public:
|
||||
unsigned globalSpaceIdx,
|
||||
unsigned timeIdx)
|
||||
{
|
||||
short upIdx[numPhases];
|
||||
short dnIdx[numPhases];
|
||||
std::array<short, numPhases> upIdx;
|
||||
std::array<short, numPhases> dnIdx;
|
||||
RateVector volumeFlux;
|
||||
RateVector pressureDifference;
|
||||
ExtensiveQuantities::calculateBoundaryGradients_(problem,
|
||||
|
Loading…
Reference in New Issue
Block a user