Skip to content

Commit

Permalink
Enable ++ variants
Browse files Browse the repository at this point in the history
  • Loading branch information
rstub committed Sep 17, 2023
1 parent c140d1f commit 6c4358b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/dqrng.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright 2018-2019 Ralf Stubner (daqana GmbH)
// Copyright 2022 Ralf Stubner
// Copyright 2022-2023 Ralf Stubner
//
// This file is part of dqrng.
//
Expand Down Expand Up @@ -73,8 +73,12 @@ void dqRNGkind(std::string kind, const std::string& normal_kind = "ignored") {
rng = dqrng::generator(seed);
} else if (kind == "xoroshiro128+") {
rng = dqrng::generator<dqrng::xoroshiro128plus>(seed);
} else if (kind == "xoroshiro128++") {
rng = dqrng::generator<dqrng::xoroshiro128plusplus>(seed);
} else if (kind == "xoshiro256+") {
rng = dqrng::generator<dqrng::xoshiro256plus>(seed);
} else if (kind == "xoshiro256++") {
rng = dqrng::generator<dqrng::xoshiro256plusplus>(seed);
} else if (kind == "pcg64") {
rng = dqrng::generator<pcg64>(seed);
} else if (kind == "threefry") {
Expand Down

0 comments on commit 6c4358b

Please sign in to comment.