Whenever I attempt to run my code, the program gets "hung up" and will not print out the value of r2eff. I am not sure why it will not. Any help would be appreciated. A sample value for r2effTemp would be 10 and stddev would be about .05 (5%).
unsigned seed = std::chrono::system_clock::now().time_since_epoch().count();
std::mt19937 generator(seed);
normal_distribution<double> rand(r2effTemp, (r2effTemp*stddev));
r2effTemp = rand(generator);
cout<<r2effTemp<<endl;
Thank you!