[GRASS-SVN] r56042 - grass-addons/grass7/raster/r.agent/libagent

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Apr 30 02:16:06 PDT 2013


Author: mic
Date: 2013-04-30 02:16:06 -0700 (Tue, 30 Apr 2013)
New Revision: 56042

Modified:
   grass-addons/grass7/raster/r.agent/libagent/ant.py
Log:
fix super call to agent

Modified: grass-addons/grass7/raster/r.agent/libagent/ant.py
===================================================================
--- grass-addons/grass7/raster/r.agent/libagent/ant.py	2013-04-30 09:15:13 UTC (rev 56041)
+++ grass-addons/grass7/raster/r.agent/libagent/ant.py	2013-04-30 09:16:06 UTC (rev 56042)
@@ -23,7 +23,7 @@
         @param World the agent knows the worlds he lives in
         @param list coordinate of the current position
         """
-        super(Ant, self).__init__(timetolive, world, freedom, position)
+        super(Ant, self).__init__(timetolive, world, position)
         self.position.extend([None,None,0,0])
         self.home = self.position[:]
         self.laststeps = [self.position[:]]



More information about the grass-commit mailing list