]> SALOME platform Git repositories - modules/med.git/commitdiff
Salome HOME
debug
authorageay <ageay>
Thu, 4 Jul 2013 13:14:30 +0000 (13:14 +0000)
committerageay <ageay>
Thu, 4 Jul 2013 13:14:30 +0000 (13:14 +0000)
src/MEDLoader/MEDFileField.cxx

index a87f8a9ce6dd177eb5265dc38f40c6d856f0f0bb..2fcf6c86804df6b187255f8f1f0b1f23efa72855 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;