Skip to content

Commit

Permalink
change missing ranlux to default_random_engine
Browse files Browse the repository at this point in the history
Co-authored-by: Tobias Ribizel <ribizel@kit.edu>
  • Loading branch information
yhmtsai and upsj committed Feb 11, 2022
1 parent 37a57a3 commit 920619b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/matrix/matrix.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -613,7 +613,7 @@ class Matrix : public ::testing::Test {
std::shared_ptr<gko::ReferenceExecutor> ref;
std::shared_ptr<gko::EXEC_TYPE> exec;

std::ranlux48 rand_engine;
std::default_random_engine rand_engine;
};

using MatrixTypes = ::testing::Types<
Expand Down
2 changes: 1 addition & 1 deletion test/multigrid/amgx_pgm_kernels.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ class AmgxPgm : public ::testing::Test {
std::shared_ptr<gko::ReferenceExecutor> ref;
std::shared_ptr<gko::EXEC_TYPE> exec;

std::ranlux48 rand_engine;
std::default_random_engine rand_engine;

gko::Array<index_type> agg;
gko::Array<index_type> unfinished_agg;
Expand Down

0 comments on commit 920619b

Please sign in to comment.