From 51b53c8b6f94f82d6df64f1a903d5b402599dbdd Mon Sep 17 00:00:00 2001
From: Jonathan Youett <youett@mi.fu-berlin.de>
Date: Wed, 17 Apr 2013 15:04:53 +0000
Subject: [PATCH] make helper function const

[[Imported from SVN: r11297]]
---
 dune/elasticity/assemblers/neohookeoperatorassembler.hh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dune/elasticity/assemblers/neohookeoperatorassembler.hh b/dune/elasticity/assemblers/neohookeoperatorassembler.hh
index 7b4062d..192ece1 100644
--- a/dune/elasticity/assemblers/neohookeoperatorassembler.hh
+++ b/dune/elasticity/assemblers/neohookeoperatorassembler.hh
@@ -192,7 +192,7 @@ private:
      *  Note that it is assumed the defGrad is the deformation gradient and not the displacement gradient   
      */
     Dune::FieldMatrix<ctype,dim,dim> hessDefDet(const Dune::FieldMatrix<ctype,dim,dim>& defGrad,
-                            const Dune::FieldVector<ctype,dim>& testGrad, const Dune::FieldVector<ctype,dim>& ansatzGrad)
+                            const Dune::FieldVector<ctype,dim>& testGrad, const Dune::FieldVector<ctype,dim>& ansatzGrad) const
     {
         Dune::FieldMatrix<ctype, dim, dim> res(0);
         
-- 
GitLab