Remove no_discard warnings from unneeded calls of a rng

This commit is contained in:
Robert Maynard 2020-05-12 09:27:54 -04:00
parent e17726ad0b
commit 51e600e7e2
3 changed files with 0 additions and 3 deletions

@ -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++)
{