From dd7bd2a5469366aae085a2612558f2a4786507dd Mon Sep 17 00:00:00 2001 From: Jonathan Lambrechts <jonathan.lambrechts@uclouvain.be> Date: Fri, 5 Jul 2013 13:12:22 +0000 Subject: [PATCH] fix MElement::scaledJacRange (Amaury can you check ? I assume it was commited by error but I'm not sure).: --- Geo/MElement.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Geo/MElement.cpp b/Geo/MElement.cpp index a1dee5e3d3..759f3bb382 100644 --- a/Geo/MElement.cpp +++ b/Geo/MElement.cpp @@ -123,8 +123,8 @@ void MElement::scaledJacRange(double &jmin, double &jmax) fullVector<double> SJi(numJacNodes), Bi(numJacNodes); jac->getScaledJacobian(nodesXYZ,SJi); jac->lag2Bez(SJi,Bi); - jmin = 0;//*std::min_element(Bi.getDataPtr(),Bi.getDataPtr()+Bi.size()); - jmax = 0;//*std::max_element(Bi.getDataPtr(),Bi.getDataPtr()+Bi.size()); + jmin = *std::min_element(Bi.getDataPtr(),Bi.getDataPtr()+Bi.size()); + jmax = *std::max_element(Bi.getDataPtr(),Bi.getDataPtr()+Bi.size()); #endif } -- GitLab