[GRASS-SVN] r67415 - grass-addons/grass7/raster/r.damflood

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Dec 29 01:55:47 PST 2015


Author: neteler
Date: 2015-12-29 01:55:46 -0800 (Tue, 29 Dec 2015)
New Revision: 67415

Modified:
   grass-addons/grass7/raster/r.damflood/SWE.c
Log:
r.damflood addon: fixed comment in comment and missing include file

Modified: grass-addons/grass7/raster/r.damflood/SWE.c
===================================================================
--- grass-addons/grass7/raster/r.damflood/SWE.c	2015-12-29 09:54:49 UTC (rev 67414)
+++ grass-addons/grass7/raster/r.damflood/SWE.c	2015-12-29 09:55:46 UTC (rev 67415)
@@ -4,6 +4,7 @@
 #include <unistd.h>
 #include <float.h>
 #include <math.h>
+#include <grass/gis.h>
 #include <grass/glocale.h>
 #include <grass/gmath.h>
 #include <grass/dbmi.h>
@@ -520,10 +521,10 @@
 				if (fabs(m_u2[row][col]>=1000 )){
 					G_warning("At the time %f u(%d,%d)=%f", t, row,col,m_u2[row][col]);
 				}
-				/******************************************************************************************************************************
+				/******************************************************************************************************************************/
 
 
-				/******************************************************************************************************************************
+				/******************************************************************************************************************************/
 				/* EQUAZIONE DEL MOTO IN DIREZIONE Y */
 				// right intercell
 				if (m_u1[row][col]>0 && m_u1[row][col+1]>0) {



More information about the grass-commit mailing list