Skip to content

Commit

Permalink
Removing C++ rng dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
jtristan committed Aug 15, 2024
1 parent b84302d commit 18ccbf1
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions ffi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,6 @@ Authors: Jean-Baptiste Tristan
#include <unistd.h>
#include <random>

#ifdef __APPLE__
std::random_device generator;
#else
std::mt19937_64 generator(time(NULL));
#endif

int urandom;

extern "C" lean_object * prob_UniformByte (lean_object * eta) {
Expand Down

0 comments on commit 18ccbf1

Please sign in to comment.