[GRASS-SVN] r42710 - grass-addons/imagery/i.topo.corr

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Jul 7 05:04:49 EDT 2010


Author: neteler
Date: 2010-07-07 09:04:49 +0000 (Wed, 07 Jul 2010)
New Revision: 42710

Modified:
   grass-addons/imagery/i.topo.corr/correction.c
Log:
small debug fix

Modified: grass-addons/imagery/i.topo.corr/correction.c
===================================================================
--- grass-addons/imagery/i.topo.corr/correction.c	2010-07-07 09:03:14 UTC (rev 42709)
+++ grass-addons/imagery/i.topo.corr/correction.c	2010-07-07 09:04:49 UTC (rev 42710)
@@ -135,7 +135,7 @@
 	    }
 	    else {
 		ref_i = (double)*((DCELL *) pref);
-		G_debug(3,"Old val: %f, cka: %f, cos_i: %f, ckb: %f, kk: %f, New val: %f\n", ref_i, cka, cos_i, ckb, kk, (DCELL) ref_i * pow(cka / (cos_i + ckb), kk));
+		G_debug(3,"Old val: %f, cka: %f, cos_i: %f, ckb: %f, kk: %f, New val: %f", ref_i, cka, cos_i, ckb, kk, (DCELL) ref_i * pow(cka / (cos_i + ckb), kk));
 		((DCELL *) out->rast)[col] =
 		    (DCELL) (ref_i * pow(cka / (cos_i + ckb), kk));
 	    }



More information about the grass-commit mailing list