From: ageay Date: Thu, 4 Jul 2013 08:30:16 +0000 (+0000) Subject: Bug detected in V7_main X-Git-Tag: V6_7_0_patch01 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a60097d4da2cefbc126a2ae17fce539a331c6c7e;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;