From b2c5772728ab4fb48a02a1b8661fe97024113c32 Mon Sep 17 00:00:00 2001 From: Xavier Raynaud Date: Thu, 7 Jun 2012 09:29:56 +0200 Subject: [PATCH] set up correctly a flag in ifs_tpfa.c --- opm/core/pressure/tpfa/ifs_tpfa.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/opm/core/pressure/tpfa/ifs_tpfa.c b/opm/core/pressure/tpfa/ifs_tpfa.c index 688c4d040..ac65177db 100644 --- a/opm/core/pressure/tpfa/ifs_tpfa.c +++ b/opm/core/pressure/tpfa/ifs_tpfa.c @@ -760,9 +760,10 @@ ifs_tpfa_assemble_comprock_increment(struct UnstructuredGrid *G , struct ifs_tpfa_data *h ) /* ---------------------------------------------------------------------- */ { - int c, w, wdof, system_singular, ok; + int c, w, wdof, system_singular; size_t j; double *v; + int ok = 1; assemble_incompressible(G, F, trans, gpress, h, &system_singular, &ok);