From: asl Date: Wed, 8 Nov 2017 15:06:07 +0000 (+0300) Subject: patch for error in garonne X-Git-Tag: v2.1~51^2~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=56710a7e7157dc0305588ce7f30c0c6c0d095d26;p=modules%2Fhydro.git patch for error in garonne --- diff --git a/src/HYDROData/HYDROData_DTM.cxx b/src/HYDROData/HYDROData_DTM.cxx index b31cdbcf..3313bfe0 100644 --- a/src/HYDROData/HYDROData_DTM.cxx +++ b/src/HYDROData/HYDROData_DTM.cxx @@ -98,8 +98,9 @@ HYDROData_DTM::CurveUZ HYDROData_DTM::CurveUZ::operator + ( const CurveUZ& c ) c { std::cout << "Warning: different number of points in curves: " << n << ", " << n1 << std::endl; } - res.reserve( n ); - for( int i=0; i