mirror of
https://github.com/boostorg/histogram.git
synced 2026-01-30 20:02:13 +00:00
bug fix in speed test, and even faster binning
This commit is contained in:
@@ -20,7 +20,7 @@ std::vector<double> random_array(unsigned n, int type) {
|
||||
std::vector<double> result(n);
|
||||
std::default_random_engine gen(1);
|
||||
if (type) { // type == 1
|
||||
std::normal_distribution<> d(0.0, 0.3);
|
||||
std::normal_distribution<> d(0.5, 0.3);
|
||||
for (auto& x : result)
|
||||
x = d(gen);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user