Skip to content
Snippets Groups Projects
Commit 4a2d4b1f authored by Giovanni Bussi's avatar Giovanni Bussi
Browse files

Fixed Ratchet

parent 4d81e222
No related branches found
No related tags found
No related merge requests found
......@@ -77,7 +77,7 @@ class BiasRatchet : public Bias{
std::vector<double> min;
std::vector<double> kappa;
std::vector<double> temp;
std::vector<double> seed;
std::vector<int> seed;
vector<Random> random;
public:
BiasRatchet(const ActionOptions&);
......@@ -109,6 +109,7 @@ random(getNumberOfArguments())
parseVector("KAPPA",kappa);
plumed_assert(kappa.size()==getNumberOfArguments());
parseVector("MIN",min);
if(min.size()==0) min.assign(getNumberOfArguments(),-1.0);
parseVector("NOISE",temp);
parseVector("SEED",seed);
parseVector("TO",to);
......
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