Skip to content
Snippets Groups Projects
Commit bfd7ff4c authored by Michele Invernizzi's avatar Michele Invernizzi Committed by Giovanni Bussi
Browse files

adding missing kbt

parent 32eedeb6
No related branches found
No related tags found
No related merge requests found
......@@ -1943,7 +1943,7 @@ void MetaD::computeReweightingFactor()
double minusBetaF=biasf_/(biasf_-1.)/kbt_;
double minusBetaFplusV=1./(biasf_-1.)/kbt_;
if (biasf_==-1.0) { //non well-tempered case
minusBetaF=1;
minusBetaF=1./kbt_;
minusBetaFplusV=0;
}
max_bias_=BiasGrid_->getMaxValue(); //to avoid exp overflow
......
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