From b37681be431eea52463c11d41791bccfd7451d08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Atgeirr=20Fl=C3=B8=20Rasmussen?= Date: Wed, 7 Mar 2012 09:32:02 +0100 Subject: [PATCH] Made bc argument const. --- opm/core/pressure/tpfa/ifs_tpfa.c | 2 +- opm/core/pressure/tpfa/ifs_tpfa.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/opm/core/pressure/tpfa/ifs_tpfa.c b/opm/core/pressure/tpfa/ifs_tpfa.c index 56bcb995b..a1a564dfd 100644 --- a/opm/core/pressure/tpfa/ifs_tpfa.c +++ b/opm/core/pressure/tpfa/ifs_tpfa.c @@ -153,7 +153,7 @@ compute_grav_term(struct UnstructuredGrid *G, const double *gpress, /* ---------------------------------------------------------------------- */ static int assemble_bc_contrib(struct UnstructuredGrid *G , - struct FlowBoundaryConditions *bc , + const struct FlowBoundaryConditions *bc , const double *trans, struct ifs_tpfa_data *h ) /* ---------------------------------------------------------------------- */ diff --git a/opm/core/pressure/tpfa/ifs_tpfa.h b/opm/core/pressure/tpfa/ifs_tpfa.h index ece4a6bef..4f0c2938b 100644 --- a/opm/core/pressure/tpfa/ifs_tpfa.h +++ b/opm/core/pressure/tpfa/ifs_tpfa.h @@ -41,7 +41,7 @@ struct ifs_tpfa_data { struct ifs_tpfa_forces { const double *src; - struct FlowBoundaryConditions *bc; + const struct FlowBoundaryConditions *bc; };