fix assert statement
This commit is contained in:
parent
e55568a646
commit
f9552a2081
@ -264,7 +264,7 @@ public:
|
|||||||
// if diffusion coefficient table is empty we relay on the PVT model to
|
// if diffusion coefficient table is empty we relay on the PVT model to
|
||||||
// to give us the coefficients.
|
// to give us the coefficients.
|
||||||
diffusionCoefficients_.resize(numRegions,{0,0,0,0,0,0,0,0,0});
|
diffusionCoefficients_.resize(numRegions,{0,0,0,0,0,0,0,0,0});
|
||||||
assert(diffCoeffTable.size() == numRegions);
|
assert(diffCoeffTables.size() == numRegions);
|
||||||
for (unsigned regionIdx = 0; regionIdx < numRegions; ++regionIdx) {
|
for (unsigned regionIdx = 0; regionIdx < numRegions; ++regionIdx) {
|
||||||
const auto& diffCoeffTable = diffCoeffTables[regionIdx];
|
const auto& diffCoeffTable = diffCoeffTables[regionIdx];
|
||||||
molarMass_[regionIdx][oilCompIdx] = diffCoeffTable.oil_mw;
|
molarMass_[regionIdx][oilCompIdx] = diffCoeffTable.oil_mw;
|
||||||
|
Loading…
Reference in New Issue
Block a user