On Tue, Jul 22, 2014 at 8:14 PM, Glynn Clements <[email protected]> wrote:
> r61353 changes r.mapcalc so that seeding is performed via seed= or -s. > The seed (whether specified by seed= or generated for -s) is added to > the history (for r.mapcalc; r3.mapcalc's create_history() function is > a stub; do 3D rasters have history?) > I added test for r61353 in r61355. Tests are only for r.mapcalc not for r3.mapcalc. http://trac.osgeo.org/grass/changeset/61355 > > As I write this, it has occurred to me that the behaviour of rand() > may be non-deterministic in the presence of certain forms of > parallelism, e.g. multiple occurences of rand() in the expression(s) > in conjunction with pthreads. Ultimately we may need to expand the > PRNG to support explicit state (as per erand48, nrand48 and jrand48). > The tests are not testing any of this (at least not explicitly), contributions welcome.
_______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
