diff --git a/dumux/material/fluidmatrixinteractions/2p/somerton.hh b/dumux/material/fluidmatrixinteractions/2p/somerton.hh
index 4ff8edbbad0bfa8fa495b6ab71567d0d7341265f..bc399289a2a0654cea5e521f3e268644fed23472 100644
--- a/dumux/material/fluidmatrixinteractions/2p/somerton.hh
+++ b/dumux/material/fluidmatrixinteractions/2p/somerton.hh
@@ -73,7 +73,7 @@ public:
                                                const ElementVolumeVariables &elemVolVars,
                                                const FVElementGeometry &fvGeometry,
                                                const SpatialParams &spatialParams,
-                                               const int scvIdx) const
+                                               const int scvIdx)
     {
         const Scalar lambdaSolid = spatialParams.thermalConductivitySolid(element, fvGeometry, scvIdx);
         const Scalar porosity = spatialParams.porosity(element, fvGeometry, scvIdx);