[GRASS-SVN] r47135 - grass/trunk/raster/r.regression.line
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Jul 15 17:17:22 EDT 2011
Author: neteler
Date: 2011-07-15 14:17:22 -0700 (Fri, 15 Jul 2011)
New Revision: 47135
Modified:
grass/trunk/raster/r.regression.line/main.c
Log:
allow input from any mapset in search path
Modified: grass/trunk/raster/r.regression.line/main.c
===================================================================
--- grass/trunk/raster/r.regression.line/main.c 2011-07-15 17:30:44 UTC (rev 47134)
+++ grass/trunk/raster/r.regression.line/main.c 2011-07-15 21:17:22 UTC (rev 47135)
@@ -79,8 +79,8 @@
cols = region.cols;
/* open maps */
- map1_fd = Rast_open_old(input_map1->answer, G_mapset());
- map2_fd = Rast_open_old(input_map2->answer, G_mapset());
+ map1_fd = Rast_open_old(input_map1->answer, "");
+ map2_fd = Rast_open_old(input_map2->answer, "");
map1_buf = Rast_allocate_d_buf();
map2_buf = Rast_allocate_d_buf();
More information about the grass-commit
mailing list