From 33c0ecd09a1996570ee094ce12423d76060f4e88 Mon Sep 17 00:00:00 2001
From: Gaetan Bricteux <gaetan.bricteux@uclouvain.be>
Date: Wed, 19 May 2010 09:41:45 +0000
Subject: [PATCH] fix jacobian

---
 Geo/MElement.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Geo/MElement.cpp b/Geo/MElement.cpp
index 47946a3669..9694b8b668 100644
--- a/Geo/MElement.cpp
+++ b/Geo/MElement.cpp
@@ -203,8 +203,8 @@ static double _computeDeterminantAndRegularize(MElement *ele, double jac[3][3])
       norme(b);
       prodve(a, b, c);
       norme(c);
-      jac[0][1] = b[0]; jac[1][1] = b[1]; jac[2][1] = b[2];
-      jac[0][2] = c[0]; jac[1][2] = c[1]; jac[2][2] = c[2];
+      jac[1][0] = b[0]; jac[1][1] = b[1]; jac[1][2] = b[2];
+      jac[2][0] = c[0]; jac[2][1] = c[1]; jac[2][2] = c[2];
       break;
     }
   case 2:
-- 
GitLab