Fixed size of zero vector passed as gpress.

This commit is contained in:
Atgeirr Flø Rasmussen 2015-01-21 21:14:32 +01:00
parent 77ae151be9
commit 73a310725e

View File

@ -58,7 +58,7 @@ namespace Opm
wells_(wells), wells_(wells),
htrans_(grid.cell_facepos[ grid.number_of_cells ]), htrans_(grid.cell_facepos[ grid.number_of_cells ]),
trans_ (grid.number_of_faces), trans_ (grid.number_of_faces),
zeros_(grid.number_of_faces) zeros_(grid.cell_facepos[ grid.number_of_cells ])
{ {
computeStaticData(); computeStaticData();
} }