[GRASS-SVN] r41440 - grass/branches/develbranch_6/raster/r.mfilter.fp

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Mar 14 15:11:09 EDT 2010


Author: neteler
Date: 2010-03-14 15:11:09 -0400 (Sun, 14 Mar 2010)
New Revision: 41440

Modified:
   grass/branches/develbranch_6/raster/r.mfilter.fp/getfilt.c
Log:
fix #999

Modified: grass/branches/develbranch_6/raster/r.mfilter.fp/getfilt.c
===================================================================
--- grass/branches/develbranch_6/raster/r.mfilter.fp/getfilt.c	2010-03-14 19:10:42 UTC (rev 41439)
+++ grass/branches/develbranch_6/raster/r.mfilter.fp/getfilt.c	2010-03-14 19:11:09 UTC (rev 41440)
@@ -85,7 +85,7 @@
 		have_divisor = 1;
 		if (sscanf(buf, "DIVISOR %lf", &div) == 1) {
 		    f->divisor = div;
-		    if (n == 0)
+		    if (div == 0)
 			f->dmatrix = f->matrix;
 		    continue;
 		}



More information about the grass-commit mailing list