Update to match WellState::init() interface change.

This commit is contained in:
Atgeirr Flø Rasmussen
2012-05-21 16:39:39 +02:00
parent 2bce30d9f7
commit 4245c97536

View File

@@ -363,7 +363,7 @@ main(int argc, char** argv)
int num_wells = 0;
if (wells->c_wells()) {
num_wells = wells->c_wells()->number_of_wells;
well_state.init(wells->c_wells());
well_state.init(wells->c_wells(), state);
well_resflows_phase.resize((wells->c_wells()->number_of_phases)*(num_wells), 0.0);
wellreport.push(*props, *wells->c_wells(),
state.pressure(), state.surfacevol(), state.saturation(),