Use correct number of items in initialiser.

This commit is contained in:
Atgeirr Flø Rasmussen 2014-01-27 10:42:35 +01:00
parent 38a48dd149
commit d5ebe3c685

View File

@ -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());