mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-11-26 03:00:17 -06:00
fixed rest of review comments
This commit is contained in:
parent
83e7bbb140
commit
e5c76f6eb2
@ -436,9 +436,9 @@ private:
|
||||
MatrixBlock bMat(0.0);
|
||||
ADVectorBlock adres(0.0);
|
||||
const IntensiveQuantities* intQuantsInP = model_().cachedIntensiveQuantities(globI, /*timeIdx*/ 0);
|
||||
// if (intQuantsInP == nullptr) {
|
||||
// throw std::logic_error("Missing updated intensive quantities for cell " + std::to_string(globI));
|
||||
// }
|
||||
if (intQuantsInP == nullptr) {
|
||||
throw std::logic_error("Missing updated intensive quantities for cell " + std::to_string(globI));
|
||||
}
|
||||
const IntensiveQuantities& intQuantsIn = *intQuantsInP;
|
||||
|
||||
// Flux term.
|
||||
|
Loading…
Reference in New Issue
Block a user