Skip to content
Snippets Groups Projects
Commit f7347ef1 authored by Carlo Camilloni's avatar Carlo Camilloni
Browse files

PbMetad: fix for absolute bias value

parent c5122cd5
No related branches found
No related tags found
No related merge requests found
......@@ -770,7 +770,7 @@ void PBMetaD::calculate()
}
// set bias
ene = -kbt_ * (std::log(ene) - std::log(ncv));
ene = -kbt_ * (std::log(ene) - std::log(ncv)) + bmin;
setBias(ene);
}
......
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