]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
Error in message in BuildIntersection
authorageay <ageay>
Tue, 26 Feb 2013 14:31:49 +0000 (14:31 +0000)
committerageay <ageay>
Tue, 26 Feb 2013 14:31:49 +0000 (14:31 +0000)
src/MEDCoupling/MEDCouplingMemArray.cxx

index bdc9588ed44ee822fde6bfcb12ec83ddca30248d..f6673142d1b6b5a69b123336275aad1401b4fffb 100644 (file)
@@ -5894,12 +5894,12 @@ DataArrayInt *DataArrayInt::BuildIntersection(const std::vector<const DataArrayI
     {
       (*it)->checkAllocated();
       if((*it)->getNumberOfComponents()!=1)
-        throw INTERP_KERNEL::Exception("DataArrayInt::BuildUnion : only single component allowed !");
+        throw INTERP_KERNEL::Exception("DataArrayInt::BuildIntersection : only single component allowed !");
       int tmp1;
       valm=std::min((*it)->getMinValue(tmp1),valm);
     }
   if(valm<0)
-    throw INTERP_KERNEL::Exception("DataArrayInt::BuildUnion : a negative value has been detected !");
+    throw INTERP_KERNEL::Exception("DataArrayInt::BuildIntersection : a negative value has been detected !");
   //
   std::set<int> r;
   for(std::vector<const DataArrayInt *>::const_iterator it=a.begin();it!=a.end();it++)