From e9e4416428fefec92242429978995f8c78f5bdb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Atgeirr=20Fl=C3=B8=20Rasmussen?= Date: Fri, 4 Aug 2017 11:39:09 +0200 Subject: [PATCH] Make computeCellState() a const method. --- opm/autodiff/BlackoilReorderingTransportModel.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opm/autodiff/BlackoilReorderingTransportModel.hpp b/opm/autodiff/BlackoilReorderingTransportModel.hpp index 700822536..3764c9df1 100644 --- a/opm/autodiff/BlackoilReorderingTransportModel.hpp +++ b/opm/autodiff/BlackoilReorderingTransportModel.hpp @@ -460,7 +460,7 @@ namespace Opm { template - void computeCellState(const int cell, const State& state, CellState& cstate) + void computeCellState(const int cell, const State& state, CellState& cstate) const { assert(numPhases() == 3); // I apologize for this to my future self, that will have to fix it.