[GRASS-SVN] r66548 - grass/trunk/raster/r.mapcalc

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Oct 20 04:16:56 PDT 2015


Author: marisn
Date: 2015-10-20 04:16:56 -0700 (Tue, 20 Oct 2015)
New Revision: 66548

Modified:
   grass/trunk/raster/r.mapcalc/r.mapcalc.html
   grass/trunk/raster/r.mapcalc/r3.mapcalc.html
Log:
r.mapcalc documentation update:
"Using the same map for input and output results in undefined behaviour"
https://lists.osgeo.org/pipermail/grass-dev/2011-July/054983.html


Modified: grass/trunk/raster/r.mapcalc/r.mapcalc.html
===================================================================
--- grass/trunk/raster/r.mapcalc/r.mapcalc.html	2015-10-20 10:11:22 UTC (rev 66547)
+++ grass/trunk/raster/r.mapcalc/r.mapcalc.html	2015-10-20 11:16:56 UTC (rev 66548)
@@ -12,7 +12,7 @@
 <p>where <em>result</em> is the name of a raster map layer
 to contain the result of the calculation and
 <b>expression</b> is any legal arithmetic expression involving existing
-raster map layers, integer or floating point constants,
+raster map layers (except <em>result</em> itself), integer or floating point constants,
 and functions known to the calculator.
 Parentheses are allowed in the expression and may be nested to any depth.
 <em>result</em> will be created in the user's current mapset.

Modified: grass/trunk/raster/r.mapcalc/r3.mapcalc.html
===================================================================
--- grass/trunk/raster/r.mapcalc/r3.mapcalc.html	2015-10-20 10:11:22 UTC (rev 66547)
+++ grass/trunk/raster/r.mapcalc/r3.mapcalc.html	2015-10-20 11:16:56 UTC (rev 66548)
@@ -12,7 +12,7 @@
 <p>where <em>result</em> is the name of a raster map layer
 to contain the result of the calculation and
 <b>expression</b> is any legal arithmetic expression involving existing
-raster map layers, integer or floating point constants,
+raster map layers (except <em>result</em> itself), integer or floating point constants,
 and functions known to the calculator.
 Parentheses are allowed in the expression and may be nested to any depth.
 <em>result</em> will be created in the user's current mapset.



More information about the grass-commit mailing list