Skip to content
Snippets Groups Projects
Commit 1047847a authored by Yoel's avatar Yoel
Browse files

Sampler now uses the Random module

parent 8d87d7e3
No related branches found
No related tags found
No related merge requests found
#pragma once
#include <random>
#include "../tools/Random.h"
#include "Sampler.h"
namespace util {
......@@ -14,7 +13,4 @@ class StratifiedSampler : public Sampler {
std::shared_ptr<Sampler> sampler;
size_t n;
};
static std::random_device rd;
static std::mt19937 gen(rd());
static std::uniform_real_distribution<> dis(0, 1.0);
} // namespace util
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment