From 7178cc1b7331a585222401ee5edfb86b2b542f35 Mon Sep 17 00:00:00 2001 From: Christoph Wintersteiger Date: Thu, 1 Jun 2017 17:08:07 +0200 Subject: [PATCH] fix MultiElementTransformation<1,3> for SIMD --- libsrc/interface/nginterface_v2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsrc/interface/nginterface_v2.cpp b/libsrc/interface/nginterface_v2.cpp index d95f71e1..550ce1a8 100644 --- a/libsrc/interface/nginterface_v2.cpp +++ b/libsrc/interface/nginterface_v2.cpp @@ -757,7 +757,7 @@ namespace netgen double hdxdxi[4][3]; for (int j = 0; j<4;j++) hxi[j][0] = ((double*)&(xi[0]))[j]; - MultiElementTransformation<1,3> (elnr, 4, &hxi[0][0], 1, &hx[0][0], 2, &hdxdxi[0][0],4); + MultiElementTransformation<1,3> (elnr, 4, &hxi[0][0], 1, &hx[0][0], 3, &hdxdxi[0][0],3); for(int j=0; j<4; j++) for(int k=0; k<3; k++) ((double*)&(x[k]))[j] = hx[j][k];