From: ageay Date: Thu, 21 Oct 2010 10:58:09 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: V5_1_5~9 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=99cdbf598b213eb4f410a886638a734514beee61;p=tools%2Fmedcoupling.git *** empty log message *** --- diff --git a/src/INTERP_KERNEL/InterpKernelMeshQuality.cxx b/src/INTERP_KERNEL/InterpKernelMeshQuality.cxx index bf465ae3a..271771edd 100644 --- a/src/INTERP_KERNEL/InterpKernelMeshQuality.cxx +++ b/src/INTERP_KERNEL/InterpKernelMeshQuality.cxx @@ -177,7 +177,7 @@ double INTERP_KERNEL::tetraAspectRatio(const double *coo) double ab[3]={coo[3]-coo[0],coo[4]-coo[1],coo[5]-coo[2]}; double ac[3]={coo[6]-coo[0],coo[7]-coo[1],coo[8]-coo[2]}; double ad[3]={coo[9]-coo[0],coo[10]-coo[1],coo[11]-coo[2]}; - double detTet=(ab[0]*(ac[1]*ad[2]-ac[2]*ad[1]))+(ab[1]*(ac[2]*ad[0]-ac[0]*ad[2]))+(ab[2]*(ac[0]*ad[1]-ac[1]*ad[2])); + double detTet=(ab[0]*(ac[1]*ad[2]-ac[2]*ad[1]))+(ab[1]*(ac[2]*ad[0]-ac[0]*ad[2]))+(ab[2]*(ac[0]*ad[1]-ac[1]*ad[0])); //if(detTet<1.e-15) // return std::numeric_limits::max(); double bc[3]={coo[6]-coo[3],coo[7]-coo[4],coo[8]-coo[5]};