From 8a73a85dbea850b84c6dfdfdc39e050f6626427c Mon Sep 17 00:00:00 2001
From: Christoph Lehmann <christoph.lehmann@ufz.de>
Date: Tue, 12 Jul 2016 09:09:36 +0200
Subject: [PATCH] [NL] adapted to removed files

---
 NumLib/Fem/CoordinatesMapping/NaturalCoordinatesMapping.cpp | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/NumLib/Fem/CoordinatesMapping/NaturalCoordinatesMapping.cpp b/NumLib/Fem/CoordinatesMapping/NaturalCoordinatesMapping.cpp
index 5163005e697..1938678bdc7 100644
--- a/NumLib/Fem/CoordinatesMapping/NaturalCoordinatesMapping.cpp
+++ b/NumLib/Fem/CoordinatesMapping/NaturalCoordinatesMapping.cpp
@@ -13,7 +13,6 @@
 
 #include <logog/include/logog.hpp>
 
-#include "MathLib/LinAlg/MatrixTools.h"
 #include "MeshLib/ElementCoordinatesMappingLocal.h"
 #include "MeshLib/CoordinateSystem.h"
 
@@ -127,7 +126,7 @@ computeMappingMatrices(
         }
     }
 
-    shapemat.detJ = MathLib::determinant(shapemat.J);
+    shapemat.detJ = shapemat.J.determinant();
 
 #ifndef NDEBUG
     if (shapemat.detJ<=.0)
@@ -176,8 +175,7 @@ computeMappingMatrices(
 
     if (shapemat.detJ>.0) {
         //J^-1, dshape/dx
-        //shapemat.invJ.noalias() = shapemat.J.inverse();
-        MathLib::inverse(shapemat.J, shapemat.detJ, shapemat.invJ);
+        shapemat.invJ.noalias() = shapemat.J.inverse();
 
         auto const nnodes(shapemat.dNdr.cols());
         auto const ele_dim(shapemat.dNdr.rows());
-- 
GitLab