]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
Bug detected in V7_main V6_7_BR V6_7_0 V6_7_0_medmem_perf0 V6_7_0_patch01 V6_7_0rc1
authorageay <ageay>
Thu, 4 Jul 2013 08:30:16 +0000 (08:30 +0000)
committerageay <ageay>
Thu, 4 Jul 2013 08:30:16 +0000 (08:30 +0000)
src/MEDLoader/MEDFileField.cxx

index 895244166f494375f1c102a0348e909b70ee772d..2abcbe5154db103fd45aea15a233ecb67e20b756 100644 (file)
@@ -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;