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

chambbj noreply at github.com
Tue Sep 24 06:59:36 PDT 2019


  Branch: refs/heads/issue-2736-seeded-randomize
  Home:   https://github.com/PDAL/PDAL
  Commit: 59e10e47d803bbe7cad6ccf5608f717e8d19fe4f
      https://github.com/PDAL/PDAL/commit/59e10e47d803bbe7cad6ccf5608f717e8d19fe4f
  Author: Bradley J Chambers <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

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


  Commit: 19d7da8784a73efc5196f237a27e1af3623f7ccc
      https://github.com/PDAL/PDAL/commit/19d7da8784a73efc5196f237a27e1af3623f7ccc
  Author: Bradley J Chambers <brad.chambers at gmail.com>
  Date:   2019-09-24 (Tue, 24 Sep 2019)

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

  Log Message:
  -----------
  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


Compare: https://github.com/PDAL/PDAL/compare/63b04746771e...19d7da8784a7


More information about the pdal-commits mailing list