Moritz Lennert wrote: > So which of the two option (a seed= parameter / disabling seeding by PID > vs GRASS_RND_SEED) is preferrable ? I would think that we should try to > be consistent across modules, but r.mapcalc uses GRASS_RND_SEED and > v.perturb uses 'seed=' (but also doesn't use rand()). Maybe the occasion > to unify all this ?
r.mapcalc uses an environment variable because the pre-7.0 version doesn't use G_parser(); all arguments are concatenated and the result is treated as an expression. In 7.0, adding seed= to r.mapcalc would be straightfoward; in 6.x, it's not really an option. -- Glynn Clements <[email protected]> _______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
