[cig-commits] r13488 - cs/cigma/trunk/src

luis at geodynamics.org luis at geodynamics.org
Tue Dec 9 18:12:23 PST 2008


Author: luis
Date: 2008-12-09 18:12:22 -0800 (Tue, 09 Dec 2008)
New Revision: 13488

Modified:
   cs/cigma/trunk/src/AnnLocator.h
Log:
Caller should check bounds

Modified: cs/cigma/trunk/src/AnnLocator.h
===================================================================
--- cs/cigma/trunk/src/AnnLocator.h	2008-12-10 02:12:20 UTC (rev 13487)
+++ cs/cigma/trunk/src/AnnLocator.h	2008-12-10 02:12:22 UTC (rev 13488)
@@ -67,7 +67,7 @@
 
 inline int cigma::AnnLocator::idx(int i) const
 {
-    assert((0 <= i) && (i < nnk));
+    //assert((0 <= i) && (i < nnk));
     return nnIdx[i];
 }
 



More information about the CIG-COMMITS mailing list