Added missing initialization of gravity in constructor.

This commit is contained in:
Xavier Raynaud 2012-09-03 14:55:19 +02:00
parent e1a5c1dc94
commit 76e517516f

View File

@ -245,6 +245,7 @@ namespace Opm
wells_(wells_manager.c_wells()),
src_(src),
bcs_(bcs),
gravity_(gravity),
psolver_(grid, props, rock_comp, linsolver,
param.getDefault("nl_pressure_residual_tolerance", 0.0),
param.getDefault("nl_pressure_change_tolerance", 1.0),