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

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Apr 12 17:16:44 PDT 2014


Author: annakrat
Date: 2014-04-12 17:16:44 -0700 (Sat, 12 Apr 2014)
New Revision: 59704

Modified:
   grass-addons/grass7/raster/r.damflood/SWE.c
Log:
r.damflood: remove newline from warning message, caused error in gui

Modified: grass-addons/grass7/raster/r.damflood/SWE.c
===================================================================
--- grass-addons/grass7/raster/r.damflood/SWE.c	2014-04-12 19:15:35 UTC (rev 59703)
+++ grass-addons/grass7/raster/r.damflood/SWE.c	2014-04-13 00:16:44 UTC (rev 59704)
@@ -500,7 +500,7 @@
 
 
 				if ((timestep/res_ew*(fabs(m_u2[row][col])+sqrt(g*m_h2[row][col])))>1.0){
-					G_warning("\nATTENTION: at time: %f the Courant-Friedrich-Lewy stability condition isn't respected",t);
+					G_warning("At time %f the Courant-Friedrich-Lewy stability condition isn't respected",t);
 					/*G_message("velocita' lungo x\n");
 					G_message("row:%d, col%d \n",row,col);
 					G_message("dZ_dx_down:%f, dZ_dx_up:%f,cr_up:%f, cr_down:%f\n" , dZ_dx_down,dZ_dx_up, cr_up, cr_down);



More information about the grass-commit mailing list