Merge pull request #2497 from akva2/deck_avoid

Avoid deck usage in simulator
This commit is contained in:
Arne Morten Kvarving
2020-03-24 08:28:21 +01:00
committed by GitHub
2 changed files with 3 additions and 8 deletions
+1 -1
View File
@@ -579,7 +579,7 @@ private:
std::size_t ny = eclState().getInputGrid().getNY();
auto nncData = sortNncAndApplyEditnnc(eclState().getInputNNC().data(),
eclState().getInputEDITNNC().data());
const auto& unitSystem = simulator_.vanguard().deck().getActiveUnitSystem();
const auto& unitSystem = simulator_.vanguard().eclState().getDeckUnitSystem();
std::vector<Opm::NNCdata> outputNnc;
std::size_t index = 0;