From 526182ec1342fc2f55be5889cc62102f71e6baa5 Mon Sep 17 00:00:00 2001
From: Oliver Sander <sander@igpm.rwth-aachen.de>
Date: Mon, 8 Mar 2010 21:52:46 +0000
Subject: [PATCH] bugfix: the second derivative is _twice_ the identity

[[Imported from SVN: r5698]]
---
 src/realtuple.hh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/realtuple.hh b/src/realtuple.hh
index bd4dbab5..8681b3c2 100644
--- a/src/realtuple.hh
+++ b/src/realtuple.hh
@@ -65,7 +65,7 @@ public:
         Dune::FieldMatrix<double,N,N> result;
         for (int i=0; i<N; i++)
             for (int j=0; j<N; j++)
-                result[i][j] = (i==j);
+                result[i][j] = 2*(i==j);
 
         return result;
     }
-- 
GitLab