]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
More info
authorageay <ageay>
Thu, 19 Jul 2012 12:47:08 +0000 (12:47 +0000)
committerageay <ageay>
Thu, 19 Jul 2012 12:47:08 +0000 (12:47 +0000)
src/MEDCoupling/MEDCouplingTimeDiscretization.cxx

index 62df2db497701c1326198fb42722e9bd9f392ca4..1f4e1fef5ad0f1bf3e2856fe5fd35bde23f44aef 100644 (file)
@@ -2130,7 +2130,10 @@ bool MEDCouplingTwoTimeSteps::isEqualIfNotWhy(const MEDCouplingTimeDiscretizatio
     }
   if(_end_array!=otherC->_end_array)
     if(!_end_array->isEqualIfNotWhy(*otherC->_end_array,prec,reason))
-      return false;
+      {
+        reason.insert(0,"end arrays differ for linear time.");
+        return false;
+      }
   return MEDCouplingTimeDiscretization::isEqualIfNotWhy(other,prec,reason);
 }