From: ageay Date: Thu, 4 Jul 2013 08:30:16 +0000 (+0000) Subject: Bug detected in V7_main X-Git-Tag: V6_7_0_medmem_perf0 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=df6ac9a21621294dc440fcf2d4c8b498b5d62fb8;p=tools%2Fmedcoupling.git Bug detected in V7_main --- diff --git a/src/MEDLoader/MEDFileField.cxx b/src/MEDLoader/MEDFileField.cxx index 895244166..2abcbe515 100644 --- a/src/MEDLoader/MEDFileField.cxx +++ b/src/MEDLoader/MEDFileField.cxx @@ -143,11 +143,11 @@ bool MEDFileFieldLoc::isEqual(const MEDFileFieldLoc& other, double eps) const return false; if(_geo_type!=other._geo_type) return false; - if(MEDCouplingGaussLocalization::AreAlmostEqual(_ref_coo,other._ref_coo,eps)) + if(!MEDCouplingGaussLocalization::AreAlmostEqual(_ref_coo,other._ref_coo,eps)) return false; - if(MEDCouplingGaussLocalization::AreAlmostEqual(_gs_coo,other._gs_coo,eps)) + if(!MEDCouplingGaussLocalization::AreAlmostEqual(_gs_coo,other._gs_coo,eps)) return false; - if(MEDCouplingGaussLocalization::AreAlmostEqual(_w,other._w,eps)) + if(!MEDCouplingGaussLocalization::AreAlmostEqual(_w,other._w,eps)) return false; return true;