diff --git a/dumux/discretization/box/globalvolumevariables.hh b/dumux/discretization/box/globalvolumevariables.hh index dc069bd3fe11551039d06c61c56540b492214565..ac5ae9b68f8a2a0af2eff13ac1b0c7cdb8e654e6 100644 --- a/dumux/discretization/box/globalvolumevariables.hh +++ b/dumux/discretization/box/globalvolumevariables.hh @@ -96,13 +96,13 @@ public: friend inline ElementVolumeVariables localView(const BoxGlobalVolumeVariables& global) { return ElementVolumeVariables(global); } -private: const VolumeVariables& volVars(const IndexType eIdx, const IndexType scvIdx) const { return volumeVariables_[eIdx][scvIdx]; } VolumeVariables& volVars(const IndexType eIdx, const IndexType scvIdx) { return volumeVariables_[eIdx][scvIdx]; } +private: const Problem& problem_() const { return *problemPtr_; }