[GRASS-SVN] r66813 - grass-addons/grass7/raster/r.agent/r.agent.rand
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Nov 11 10:34:56 PST 2015
Author: mic
Date: 2015-11-11 10:34:56 -0800 (Wed, 11 Nov 2015)
New Revision: 66813
Modified:
grass-addons/grass7/raster/r.agent/r.agent.rand/r.agent.rand.py
Log:
fix typo
Modified: grass-addons/grass7/raster/r.agent/r.agent.rand/r.agent.rand.py
===================================================================
--- grass-addons/grass7/raster/r.agent/r.agent.rand/r.agent.rand.py 2015-11-11 18:33:36 UTC (rev 66812)
+++ grass-addons/grass7/raster/r.agent/r.agent.rand/r.agent.rand.py 2015-11-11 18:34:56 UTC (rev 66813)
@@ -133,8 +133,8 @@
agent.step()
position = agent.getposition()
newvalue = world.playground.getcellvalue('RESULT', position) + mark
- grass.message("setting " + positon + " to new value " + newvalue)
- world.playground.setcellvalue('RESULT', positon, newvalue)
+ grass.message("setting " + position + " to new value " + newvalue)
+ world.playground.setcellvalue('RESULT', position, newvalue)
world.playground.writelayer('RESULT', False, overwrite)
def main():
More information about the grass-commit
mailing list