Skip to content
Snippets Groups Projects
Commit f13c068e authored by anikhalder's avatar anikhalder
Browse files

Refactor function name

parent a3904186
No related branches found
No related tags found
No related merge requests found
......@@ -21,7 +21,7 @@ double Distribution1DGaussSampler::randomSample() const
{
std::random_device rd; // random device class instance
std::mt19937 gen(rd());
std::normal_distribution<double> d(m_mean, m_stddev);
std::normal_distribution<double> normalDist(m_mean, m_stddev);
return d(gen);
return normalDist(gen);
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment