From 0e39836b0b4f5edcf4bda50a38fc52536f17c1a0 Mon Sep 17 00:00:00 2001 From: ageay Date: Tue, 26 Feb 2013 14:31:49 +0000 Subject: [PATCH] Error in message in BuildIntersection --- src/MEDCoupling/MEDCouplingMemArray.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/MEDCoupling/MEDCouplingMemArray.cxx b/src/MEDCoupling/MEDCouplingMemArray.cxx index bdc9588ed..f6673142d 100644 --- a/src/MEDCoupling/MEDCouplingMemArray.cxx +++ b/src/MEDCoupling/MEDCouplingMemArray.cxx @@ -5894,12 +5894,12 @@ DataArrayInt *DataArrayInt::BuildIntersection(const std::vectorcheckAllocated(); 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 r; for(std::vector::const_iterator it=a.begin();it!=a.end();it++) -- 2.39.2