Make computeCellState() a const method.

This commit is contained in:
Atgeirr Flø Rasmussen 2017-08-04 11:39:09 +02:00
parent 31f74cc476
commit e9e4416428

View File

@ -460,7 +460,7 @@ namespace Opm {
template <typename Scalar> template <typename Scalar>
void computeCellState(const int cell, const State& state, CellState<Scalar>& cstate) void computeCellState(const int cell, const State& state, CellState<Scalar>& cstate) const
{ {
assert(numPhases() == 3); // I apologize for this to my future self, that will have to fix it. assert(numPhases() == 3); // I apologize for this to my future self, that will have to fix it.