From 0cd6a0a0c6e531c56a2d8dc794a26847dde2aea1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C3=A5rd=20Skaflestad?= Date: Wed, 9 May 2012 22:39:28 +0200 Subject: [PATCH] Realign pointer offsets to provide additional visual cues. --- opm/core/pressure/tpfa/ifs_tpfa.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/opm/core/pressure/tpfa/ifs_tpfa.c b/opm/core/pressure/tpfa/ifs_tpfa.c index 93009d82b..3bc33be2b 100644 --- a/opm/core/pressure/tpfa/ifs_tpfa.c +++ b/opm/core/pressure/tpfa/ifs_tpfa.c @@ -674,9 +674,9 @@ ifs_tpfa_construct(struct UnstructuredGrid *G, if (new != NULL) { new->b = new->pimpl->ddata; - new->x = new->b + new->A->m; + new->x = new->b + new->A->m; - new->pimpl->fgrav = new->x + new->A->m; + new->pimpl->fgrav = new->x + new->A->m; new->pimpl->work = new->pimpl->fgrav + G->number_of_faces; }