From 099fbc05d0946fc9569469d63384d424f94464a7 Mon Sep 17 00:00:00 2001 From: Joakim Hove Date: Wed, 27 Nov 2019 10:41:00 +0100 Subject: [PATCH] Use EclipseState based Schedule constructor --- tests/test_wellmodel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_wellmodel.cpp b/tests/test_wellmodel.cpp index d1463f9e2..42e0908e4 100644 --- a/tests/test_wellmodel.cpp +++ b/tests/test_wellmodel.cpp @@ -72,7 +72,7 @@ struct SetupTest { const Opm::TableManager table ( deck ); const Opm::Eclipse3DProperties eclipseProperties ( deck , table, ecl_state->getInputGrid()); const Opm::Runspec runspec (deck); - schedule.reset( new Opm::Schedule(deck, ecl_state->getInputGrid(), eclipseProperties, runspec)); + schedule.reset( new Opm::Schedule(deck, *ecl_state)); summaryState.reset( new Opm::SummaryState(std::chrono::system_clock::from_time_t(schedule->getStartTime()))); } current_timestep = 0;