From a779a061cc278f0c718b99437c5b70f564161000 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Atgeirr=20Fl=C3=B8=20Rasmussen?= Date: Wed, 26 Jan 2011 16:00:08 +0100 Subject: [PATCH] Corrected size of gpot_storage. --- src/TPFACompressiblePressureSolver.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TPFACompressiblePressureSolver.hpp b/src/TPFACompressiblePressureSolver.hpp index 42e0a955..3701d362 100644 --- a/src/TPFACompressiblePressureSolver.hpp +++ b/src/TPFACompressiblePressureSolver.hpp @@ -487,7 +487,7 @@ private: } well_connpos_storage_.push_back(well_connpos_storage_.size()); int tot_num_perf = well_prodind_storage_.size(); - well_gpot_storage_.resize(tot_num_perf); + well_gpot_storage_.resize(tot_num_perf*3); well_A_storage_.resize(3*3*tot_num_perf); well_phasemob_storage_.resize(3*tot_num_perf); // Setup 'wells_'