From 56710a7e7157dc0305588ce7f30c0c6c0d095d26 Mon Sep 17 00:00:00 2001 From: asl Date: Wed, 8 Nov 2017 18:06:07 +0300 Subject: [PATCH] patch for error in garonne --- src/HYDROData/HYDROData_DTM.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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