Skip to content

Commit

Permalink
Remove meaningless const in front of copied return values.
Browse files Browse the repository at this point in the history
  • Loading branch information
blattms committed Aug 3, 2018
1 parent 75f2274 commit b29accb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions opm/grid/cpgrid/Geometry.hpp
Expand Up @@ -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, "");
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit b29accb

Please sign in to comment.