Remove no_discard warnings from unneeded calls of a rng
This commit is contained in:
parent
e17726ad0b
commit
51e600e7e2
@ -59,7 +59,6 @@ void createVectors(std::size_t numPts,
|
||||
{
|
||||
//Test some other vector combinations
|
||||
std::uniform_real_distribution<vtkm::Float64> randomDist(-10.0, 10.0);
|
||||
randomDist(randGenerator);
|
||||
|
||||
vecs1.resize(numPts);
|
||||
vecs2.resize(numPts);
|
||||
|
@ -59,7 +59,6 @@ void createVectors(std::size_t numPts,
|
||||
{
|
||||
//Test some other vector combinations
|
||||
std::uniform_real_distribution<vtkm::Float64> randomDist(-10.0, 10.0);
|
||||
randomDist(randGenerator);
|
||||
|
||||
vecs1.resize(numPts);
|
||||
vecs2.resize(numPts);
|
||||
|
@ -48,7 +48,6 @@ void createVectors(std::vector<vtkm::Vec<T, 3>>& vecs1, std::vector<vtkm::Vec<T,
|
||||
|
||||
//Test some other vector combinations
|
||||
std::uniform_real_distribution<vtkm::Float64> randomDist(-10.0, 10.0);
|
||||
randomDist(randGenerator);
|
||||
|
||||
for (int i = 0; i < 100; i++)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user