From f02fd71404f254e1a37e98d5587913b1cab5351a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Atgeirr=20Fl=C3=B8=20Rasmussen?= Date: Tue, 8 Dec 2015 11:32:47 +0100 Subject: [PATCH] Use Simulator::ReservoirState in flowMain(). --- opm/autodiff/flowMain.hpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/opm/autodiff/flowMain.hpp b/opm/autodiff/flowMain.hpp index 3ae9855c8..1add4c8a1 100644 --- a/opm/autodiff/flowMain.hpp +++ b/opm/autodiff/flowMain.hpp @@ -62,7 +62,6 @@ #include #include -#include #include #include @@ -275,7 +274,7 @@ namespace Opm // Gravity. gravity[2] = deck->hasKeyword("NOGRAV") ? 0.0 : unit::gravity; - BlackoilState state; + typename Simulator::ReservoirState state; // Init state variables (saturation and pressure). if (param.has("init_saturation")) { initStateBasic(Opm::UgGridHelpers::numCells(grid),