]> SALOME platform Git repositories - modules/med.git/commitdiff
Salome HOME
debug
authorageay <ageay>
Wed, 19 Jun 2013 06:17:28 +0000 (06:17 +0000)
committerageay <ageay>
Wed, 19 Jun 2013 06:17:28 +0000 (06:17 +0000)
src/MEDCoupling/MEDCouplingMemArray.txx

index 39030643deffd907e9d8cd34c3ea5b0963671ad3..71be0a297c8e51e4908267e03c109c32631948a3 100644 (file)
@@ -101,7 +101,7 @@ namespace ParaMEDMEM
     T *pointer=_pointer.getPointer();
     while(first!=last)
       {
-        if(_nb_of_elem>=_nb_of_elem_alloc || _nb_of_elem==0)
+        if(_nb_of_elem>=_nb_of_elem_alloc)
           {
             reserve(_nb_of_elem_alloc>0?2*_nb_of_elem_alloc:1);
             pointer=_pointer.getPointer();