diff --git a/contrib/bamg/RNM.hpp b/contrib/bamg/RNM.hpp
index 053efd1d3b50892f6988602abfa0dc839f09021d..83678edd0f7dc683cf375feb942f0eeb54be7125 100644
--- a/contrib/bamg/RNM.hpp
+++ b/contrib/bamg/RNM.hpp
@@ -1194,8 +1194,8 @@ class KN :public KN_<R> { public:
          for(long i=0,j=0;j<no;i++,j+=so) 
            this->v[i]=vo[j]; 
         delete [] vo;} }//  mars 2010
-    void destroy(){assert(this->next<0);  if(this->next++ ==-1) {delete [] this->v; this->v=0;this->n=0;}}//  mars 2010
-    void increment() {assert(this->next<0);  this->next--;}
+    void destroy(){ if(this->next++ ==-1) {delete [] this->v; this->v=0;this->n=0;}}//  mars 2010
+    void increment() { this->next--;}
 };
 
 //  Array with 2 indices
@@ -1299,8 +1299,8 @@ class KNM: public KNM_<R>{ public:
     }
         
    }
-    void destroy(){assert(this->next<0);  if(this->next++ ==-1) {delete [] this->v; this->v=0;this->n=0;}} 
-    void increment() {assert(this->next<0);  this->next--;}
+    void destroy(){ if(this->next++ ==-1) {delete [] this->v; this->v=0;this->n=0;}} 
+    void increment() {  this->next--;}
     
 //  void destroy(){delete [] this->v;this->n=0 ;}