[pdal-commits] [PDAL/PDAL] bfe99c: Allow user to seed random number generator when sh...

chambbj noreply at github.com
Tue Sep 24 09:31:29 PDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/PDAL/PDAL
  Commit: bfe99cbf8ecfbb50a27864056b09f4847551aac4
      https://github.com/PDAL/PDAL/commit/bfe99cbf8ecfbb50a27864056b09f4847551aac4
  Author: chambbj <brad.chambers at gmail.com>
  Date:   2019-09-24 (Tue, 24 Sep 2019)

  Changed paths:
    M filters/RandomizeFilter.cpp
    M filters/RandomizeFilter.hpp
    M test/unit/filters/RandomizeFilterTest.cpp

  Log Message:
  -----------
  Allow user to seed random number generator when shuffling points (#2737)

* Allow user to seed random number generator when shuffling points

This change also defaults to using random_device to see the mt19937 random
number generator.

* Update seeded tests to make sure the result is the same between two runs, rather than hardcode

- Unseeded test makes sure that at least one index has changed




More information about the pdal-commits mailing list