[GRASS-SVN] r41433 - grass/branches/develbranch_6/raster/r.mfilter
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Mar 14 04:49:34 EDT 2010
Author: neteler
Date: 2010-03-14 04:49:34 -0400 (Sun, 14 Mar 2010)
New Revision: 41433
Modified:
grass/branches/develbranch_6/raster/r.mfilter/getfilt.c
Log:
Fix bug #999 (zero divisor)
Modified: grass/branches/develbranch_6/raster/r.mfilter/getfilt.c
===================================================================
--- grass/branches/develbranch_6/raster/r.mfilter/getfilt.c 2010-03-14 08:49:10 UTC (rev 41432)
+++ grass/branches/develbranch_6/raster/r.mfilter/getfilt.c 2010-03-14 08:49:34 UTC (rev 41433)
@@ -84,7 +84,7 @@
have_divisor = 1;
if (sscanf(buf, "DIVISOR %d", &n) == 1) {
f->divisor = n;
- if (n == 0)
+ if (div == 0)
f->dmatrix = f->matrix;
continue;
}
More information about the grass-commit
mailing list