[GRASS-SVN] r41431 - grass/trunk/raster/r.mfilter
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Mar 14 03:19:13 EDT 2010
Author: glynn
Date: 2010-03-14 03:19:08 -0400 (Sun, 14 Mar 2010)
New Revision: 41431
Modified:
grass/trunk/raster/r.mfilter/getfilt.c
Log:
Fix bug #999 (zero divisor)
Modified: grass/trunk/raster/r.mfilter/getfilt.c
===================================================================
--- grass/trunk/raster/r.mfilter/getfilt.c 2010-03-13 18:55:33 UTC (rev 41430)
+++ grass/trunk/raster/r.mfilter/getfilt.c 2010-03-14 07:19:08 UTC (rev 41431)
@@ -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