We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3af795b commit 7182bcbCopy full SHA for 7182bcb
include/proxsuite/proxqp/utils/random_qp_problems.hpp
@@ -72,9 +72,7 @@ using proxqp::u64;
72
is not available. Therefore, we use a random number generator from the stdlib
73
instead of our custom Lehmer random number generator. The necessary lehmer
74
functions used in in our code are remplaced with calls to the stdlib.*/
75
-std::random_device rd;
76
-std::mt19937 gen(rd());
77
-gen.seed(1234); // by default set a seed
+std::mt19937 gen(1234);
78
std::uniform_real_distribution<> uniform_dist(0.0, 1.0);
79
std::normal_distribution<double> normal_dist;
80
using u128 = u64;
0 commit comments