Merge pull request #3462 from akva2/fix_glift_test

fixed: add missing initialization call
This commit is contained in:
Tor Harald Sandve 2021-08-05 11:57:51 +02:00 committed by GitHub
commit 640a1bf62d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -185,6 +185,7 @@ BOOST_AUTO_TEST_CASE(G1)
GLiftSyncGroups sync_groups;
GasLiftSingleWell glift {*std_well, *(simulator.get()), summary_state,
deferred_logger, well_state, group_state, group_info, sync_groups};
group_info.initialize();
auto state = glift.runOptimize(iteration_idx);
BOOST_CHECK_CLOSE(state->oilRate(), 0.01736111111111111, 1e-8);
BOOST_CHECK_CLOSE(state->gasRate(), 1.6464646999768586, 1e-8);