Commit adfc54aa authored by Lukas Weber's avatar Lukas Weber
Browse files

Revert "change visibility of some rng stuff"

This reverts commit f6f27588.
parent 83e367e1
...@@ -13,6 +13,7 @@ using namespace std; ...@@ -13,6 +13,7 @@ using namespace std;
class abstract_mc class abstract_mc
{ {
private: private:
randomnumbergenerator * rng = 0;
void param_init(string dir); void param_init(string dir);
void random_clear(); void random_clear();
...@@ -25,8 +26,6 @@ class abstract_mc ...@@ -25,8 +26,6 @@ class abstract_mc
int therm = 0; int therm = 0;
protected: protected:
parser param; parser param;
randomnumbergenerator *rng = 0;
double random01();
virtual void init() = 0; virtual void init() = 0;
virtual void write(odump &out) = 0; virtual void write(odump &out) = 0;
...@@ -34,6 +33,7 @@ class abstract_mc ...@@ -34,6 +33,7 @@ class abstract_mc
virtual void write_output(std::ofstream &f) = 0; virtual void write_output(std::ofstream &f) = 0;
virtual void do_update() = 0; virtual void do_update() = 0;
public: public:
double random01();
int sweep() const; int sweep() const;
virtual void do_measurement() = 0; virtual void do_measurement() = 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