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 e48a468 commit 4d17438
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions opm/grid/cpgrid/Geometry.hpp
Original file line number Diff line number Diff line change
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 4d17438

Please sign in to comment.