From 4d1743867f1732344e4446e69eb8d1858141b0e3 Mon Sep 17 00:00:00 2001 From: Markus Blatt Date: Fri, 3 Aug 2018 17:35:39 +0200 Subject: [PATCH] Remove meaningless const in front of copied return values. --- opm/grid/cpgrid/Geometry.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/opm/grid/cpgrid/Geometry.hpp b/opm/grid/cpgrid/Geometry.hpp index 79ab748b3..bcc1f4b87 100644 --- a/opm/grid/cpgrid/Geometry.hpp +++ b/opm/grid/cpgrid/Geometry.hpp @@ -262,7 +262,7 @@ namespace Dune /// J^T_{ij} = (dg_j/du_i) /// where g is the mapping from the reference domain, /// and {u_i} are the reference coordinates. - const JacobianTransposed + JacobianTransposed jacobianTransposed(const LocalCoordinate& local_coord) const { static_assert(mydimension == 3, ""); @@ -298,7 +298,7 @@ namespace Dune } /// @brief Inverse of Jacobian transposed. \see jacobianTransposed(). - const JacobianInverseTransposed + JacobianInverseTransposed jacobianInverseTransposed(const LocalCoordinate& local_coord) const { JacobianInverseTransposed Jti = jacobianTransposed(local_coord);