From cdac3f471d8c25f79384d61bcbb82fca6663c1e8 Mon Sep 17 00:00:00 2001
From: Jonathan Youett <youett@mi.fu-berlin.de>
Date: Thu, 16 Jan 2014 11:08:32 +0000
Subject: [PATCH] Return type of method 'energy' is not ctype anymore

[[Imported from SVN: r12667]]
---
 dune/elasticity/materials/geomexactstvenantkirchhoffmaterial.hh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dune/elasticity/materials/geomexactstvenantkirchhoffmaterial.hh b/dune/elasticity/materials/geomexactstvenantkirchhoffmaterial.hh
index c471462..c8640bb 100644
--- a/dune/elasticity/materials/geomexactstvenantkirchhoffmaterial.hh
+++ b/dune/elasticity/materials/geomexactstvenantkirchhoffmaterial.hh
@@ -69,7 +69,7 @@ public:
     //! Evaluate the strain energy
     ReturnType energy(const GridFunction& displace)
     {
-        ctype energy=0;
+        ReturnType energy=0;
         const GridType& grid = this->basis_->getGridView().grid();
 
         ElementIterator eIt = grid.template leafbegin<0>();
-- 
GitLab