Bugfix: Correct number of connections also for the last well.

This commit is contained in:
Ove Saevareid 2011-02-07 17:52:32 +01:00
parent c1e686a3d6
commit 405900ac39

View File

@ -480,7 +480,7 @@ private:
well_prodind_storage_.push_back(w.wellIndex(i, j));
}
}
well_connpos_storage_.push_back(well_connpos_storage_.size());
well_connpos_storage_.push_back(well_cells_storage_.size());
int tot_num_perf = well_prodind_storage_.size();
well_gpot_storage_.resize(tot_num_perf*3);
well_A_storage_.resize(3*3*tot_num_perf);