Skip to content

Commit

Permalink
update seed
Browse files Browse the repository at this point in the history
  • Loading branch information
JinxiangW committed Dec 9, 2024
1 parent 90b8cb4 commit 273005d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/sample_example.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -987,7 +987,10 @@ std::vector<vec2> SampleExample::hammersleySequence(int maxNumberPoints)
}

std::random_device rd;
std::mt19937 g(rd());
// 4257880815, 734147533
auto seed = rd();
//std::cout << seed << std::endl;
std::mt19937 g(4257880815);
std::shuffle(points.begin(), points.end(), g);

/*std::vector<vec2> points{
Expand Down

0 comments on commit 273005d

Please sign in to comment.