Browse Source

Fix G_debug() call (first argument is debug level)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@39001 15284696-431f-4ddb-bdfa-cd5b030d7da7
Glynn Clements 15 năm trước cách đây
mục cha
commit
59a8495bca
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      lib/cluster/c_assign.c

+ 1 - 1
lib/cluster/c_assign.c

@@ -30,7 +30,7 @@ int I_cluster_assign(struct Cluster *C, int *interrupted)
     double d, q;
     double dmin;
 
-    G_debug("I_cluster_assign(npoints=%d,nclasses=%d,nbands=%d)",
+    G_debug(3, "I_cluster_assign(npoints=%d,nclasses=%d,nbands=%d)",
 	    C->npoints, C->nclasses, C->nbands);
     
     for (p = 0; p < C->npoints; p++) {