diff options
| author | Tom Harley | 2019-04-04 15:38:54 +0100 |
|---|---|---|
| committer | Tom Harley | 2019-04-04 15:38:54 +0100 |
| commit | 1db78c20d1455a295c6b3d9420a609587073f3b4 (patch) | |
| tree | 4967d134005bcd68941a6f9c0e4c215fa1ba6685 /metasol.hpp | |
| parent | Add indefinite running (diff) | |
| download | metasol-1db78c20d1455a295c6b3d9420a609587073f3b4.tar.gz metasol-1db78c20d1455a295c6b3d9420a609587073f3b4.zip | |
Change random generators to use Mersenne Twister
This should ensure consistency across platforms.
Diffstat (limited to 'metasol.hpp')
| -rw-r--r-- | metasol.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/metasol.hpp b/metasol.hpp index 939effd..69bf73c 100644 --- a/metasol.hpp +++ b/metasol.hpp @@ -771,7 +771,7 @@ typedef struct { /** * The random generator used when shuffling face-down cards around. */ - std::default_random_engine rng; + std::mt19937 rng; /** * `true` when running infinitely. |
