Commit f42eae88 authored by Tom Fischer's avatar Tom Fischer
Browse files

[T/GL] Fix test: generate random numbers in [0,1].

parent eab69f67
......@@ -29,7 +29,7 @@ std::vector<MathLib::Point3d*>* getRandomSpherePoints(
std::random_device rd;
std::mt19937 gen(rd());
std::uniform_real_distribution<> dis(0, 1);
std::uniform_real_distribution<> dis(-1, 1);
for (std::size_t k(0); k < n_points; ++k)
{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment