Aufgrund einer Wartung wird GitLab am 18.05. zwischen 8:00 und 9:00 Uhr kurzzeitig nicht zur Verfügung stehen. / Due to maintenance, GitLab will be temporarily unavailable on 18.05. between 8:00 and 9:00 am.

Commit 3cc738ac authored by Lukas Weber's avatar Lukas Weber
Browse files

make random01 inline

parent bf6aab90
......@@ -8,10 +8,6 @@ mc::mc(const parser &p) : param{p} {
void mc::write_output(const std::string &) {}
double mc::random01() {
return rng->random_double();
}
int mc::sweep() const {
return sweep_;
}
......
......@@ -40,10 +40,13 @@ protected:
return 1;
}
double random01() {
return rng->random_double();
}
public:
bool pt_mode_{};
double random01();
int sweep() const;
virtual void register_evalables(std::vector<evalable> &evalables) = 0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment