From d429e225f9385fe8be82f4aaa28475da9d2ebb2d Mon Sep 17 00:00:00 2001
From: Elias Pipping <elias.pipping@fu-berlin.de>
Date: Fri, 3 Aug 2012 20:09:19 +0200
Subject: [PATCH] Fix: use ref

---
 dune/tectonic/ellipticenergy.hh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dune/tectonic/ellipticenergy.hh b/dune/tectonic/ellipticenergy.hh
index f3edb15c..5231d91f 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) {
-- 
GitLab