mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-11-25 10:40:21 -06:00
Use correct number of items in initialiser.
This commit is contained in:
parent
38a48dd149
commit
d5ebe3c685
@ -48,7 +48,7 @@ BOOST_AUTO_TEST_CASE(TestPressureDeltas)
|
||||
const double comp_frac_w[np] = { 1.0, 0.0, 0.0 };
|
||||
const double comp_frac_o[np] = { 0.0, 1.0, 0.0 };
|
||||
const int cells[nperf/2] = { 0, 1, 2, 3, 4 };
|
||||
const double WI[nperf/2] = { 1.0, 1.0, 1.0, 1.0 };
|
||||
const double WI[nperf/2] = { 1.0, 1.0, 1.0, 1.0, 1.0 };
|
||||
std::shared_ptr<Wells> wells(create_wells(np, 2, nperf), destroy_wells);
|
||||
BOOST_REQUIRE(wells);
|
||||
int ok = add_well(INJECTOR, ref_depth, nperf/2, comp_frac_w, cells, WI, "INJ", wells.get());
|
||||
|
Loading…
Reference in New Issue
Block a user