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

luis at geodynamics.org luis at geodynamics.org
Wed Oct 29 15:11:37 PDT 2008


Author: luis
Date: 2008-10-29 15:11:36 -0700 (Wed, 29 Oct 2008)
New Revision: 13169

Modified:
   cs/cigma/trunk/src/AnnLocator.h
   cs/cigma/trunk/src/Point.cpp
Log:
Add/remove some comments

Modified: cs/cigma/trunk/src/AnnLocator.h
===================================================================
--- cs/cigma/trunk/src/AnnLocator.h	2008-10-29 22:11:35 UTC (rev 13168)
+++ cs/cigma/trunk/src/AnnLocator.h	2008-10-29 22:11:36 UTC (rev 13169)
@@ -4,7 +4,7 @@
 #include "Locator.h"
 //#include "MeshPart.h"
 //#include "Points.h"
-//#include "ANN/ANN.h"
+#include "ANN/ANN.h"
 
 namespace cigma
 {

Modified: cs/cigma/trunk/src/Point.cpp
===================================================================
--- cs/cigma/trunk/src/Point.cpp	2008-10-29 22:11:35 UTC (rev 13168)
+++ cs/cigma/trunk/src/Point.cpp	2008-10-29 22:11:36 UTC (rev 13169)
@@ -64,6 +64,7 @@
 template <int dim>
 void Point<dim>::set_coord(double *x, int len)
 {
+    //assert(dim >= len);
     for (int i = 0; i < len; i++)
     {
         coord[i] = x[i];
@@ -73,6 +74,7 @@
 template <int dim>
 void Point<dim>::set_coord(float *x, int len)
 {
+    //assert(dim >= len);
     for (int i = 0; i < len; i++)
     {
         coord[i] = x[i];



More information about the CIG-COMMITS mailing list