[GRASS-SVN] r41438 - grass/branches/releasebranch_6_4/raster/r.mfilter.fp

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Mar 14 15:08:29 EDT 2010


Author: neteler
Date: 2010-03-14 15:08:29 -0400 (Sun, 14 Mar 2010)
New Revision: 41438

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

Modified: grass/branches/releasebranch_6_4/raster/r.mfilter.fp/getfilt.c
===================================================================
--- grass/branches/releasebranch_6_4/raster/r.mfilter.fp/getfilt.c	2010-03-14 19:05:47 UTC (rev 41437)
+++ grass/branches/releasebranch_6_4/raster/r.mfilter.fp/getfilt.c	2010-03-14 19:08:29 UTC (rev 41438)
@@ -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