From 0c44ebf240f9b846fd0c1a4840b86a5bb33a16bf Mon Sep 17 00:00:00 2001 From: ageay Date: Thu, 21 Feb 2013 15:49:59 +0000 Subject: [PATCH] Correct error message in DataArrayDouble::toNoInterlace --- 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 9446cea3f..2f7b61dd1 100644 --- a/src/MEDCoupling/MEDCouplingMemArray.cxx +++ b/src/MEDCoupling/MEDCouplingMemArray.cxx @@ -847,7 +847,7 @@ DataArrayDouble *DataArrayDouble::fromNoInterlace() const throw(INTERP_KERNEL::E DataArrayDouble *DataArrayDouble::toNoInterlace() const throw(INTERP_KERNEL::Exception) { if(_mem.isNull()) - throw INTERP_KERNEL::Exception("DataArrayDouble::fromNoInterlace : Not defined array !"); + throw INTERP_KERNEL::Exception("DataArrayDouble::toNoInterlace : Not defined array !"); double *tab=_mem.toNoInterlace(getNumberOfComponents()); DataArrayDouble *ret=DataArrayDouble::New(); ret->useArray(tab,true,CPP_DEALLOC,getNumberOfTuples(),getNumberOfComponents()); @@ -3886,7 +3886,7 @@ void DataArrayInt::splitByValueRange(const int *arrBg, const int *arrEnd, * value i. * indArr[v] where 'indArr' is defined by ['indArrBg','indArrEnd'). * This method is safe that is to say if there is location i so that indArr[v] is not in [0,this->getNumberOfTuples()) an exception - * will be thrown. An exception is also throw if there is a location i so that \a this[i] not in [0,distance(indArrBg,indArrEnd)) ! + * will be thrown. An exception is also thrown if there is a location i so that \a this[i] not in [0,distance(indArrBg,indArrEnd)) ! */ DataArrayInt *DataArrayInt::transformWithIndArrR(const int *indArrBg, const int *indArrEnd) const throw(INTERP_KERNEL::Exception) { -- 2.39.2