[GRASS-SVN] r67263 - grass/branches/releasebranch_7_0/vector/v.what.rast
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Dec 20 01:47:12 PST 2015
Author: neteler
Date: 2015-12-20 01:47:11 -0800 (Sun, 20 Dec 2015)
New Revision: 67263
Modified:
grass/branches/releasebranch_7_0/vector/v.what.rast/main.c
Log:
v.what.rast: precision fix for -i interpolate (trunk, r67261, see there for long comment)
Modified: grass/branches/releasebranch_7_0/vector/v.what.rast/main.c
===================================================================
--- grass/branches/releasebranch_7_0/vector/v.what.rast/main.c 2015-12-20 03:10:08 UTC (rev 67262)
+++ grass/branches/releasebranch_7_0/vector/v.what.rast/main.c 2015-12-20 09:47:11 UTC (rev 67263)
@@ -327,13 +327,13 @@
if (interp_flag->answer) {
if (cache[point].row <= 0)
Rast_set_null_value(prev_d_row, window.cols,
- out_type);
+ DCELL_TYPE);
else
Rast_get_d_row(fd, prev_d_row, cache[point].row - 1);
if (cache[point].row + 1 > window.rows - 1)
Rast_set_null_value(next_d_row, window.cols,
- out_type);
+ DCELL_TYPE);
else
Rast_get_d_row(fd, next_d_row, cache[point].row + 1);
}
More information about the grass-commit
mailing list