[GRASS-SVN] r64256 - grass-addons/grass7/imagery/i.spec.sam

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Jan 20 07:14:50 PST 2015


Author: ychemin
Date: 2015-01-20 07:14:50 -0800 (Tue, 20 Jan 2015)
New Revision: 64256

Modified:
   grass-addons/grass7/imagery/i.spec.sam/open.c
Log:
Fixed the G_verbose() condition

Modified: grass-addons/grass7/imagery/i.spec.sam/open.c
===================================================================
--- grass-addons/grass7/imagery/i.spec.sam/open.c	2015-01-20 15:06:01 UTC (rev 64255)
+++ grass-addons/grass7/imagery/i.spec.sam/open.c	2015-01-20 15:14:50 UTC (rev 64256)
@@ -36,7 +36,7 @@
     if ( A->m < A->n )
 	G_fatal_error("Need m (rows) >= n (cols) to obtain least squares fit\n");
     G_verbose_message("Your spectral matrix = ");
-    if (G_verbose() == 3)
+    if (G_verbose() > G_verbose_std())
     {
 	m_output(A);
     }



More information about the grass-commit mailing list