diff --git a/dune/tectonic/ellipticenergy.hh b/dune/tectonic/ellipticenergy.hh index f3edb15cb4d547d98e921a27583a6b5a98942014..5231d91fc9a107275f032ecb3ca3294c4f546b83 100644 --- a/dune/tectonic/ellipticenergy.hh +++ b/dune/tectonic/ellipticenergy.hh @@ -32,7 +32,7 @@ template <int dim> class EllipticEnergy { } // returns false if the direction is tangential - bool descentDirection(SmallVector const x, SmallVector &ret) const { + bool descentDirection(SmallVector const &x, SmallVector &ret) const { // Check the squared norm rather than each component because // complementaryProjection() divides by it if (x.two_norm2() == 0.0) {