From 53c09b1273fb6f158a37ae698843e7b7739b5ba8 Mon Sep 17 00:00:00 2001 From: Giovanni Bussi <giovanni.bussi@gmail.com> Date: Mon, 9 Jul 2018 07:56:29 +0200 Subject: [PATCH] Fixed rct value cc: @valsson --- src/bias/MetaD.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bias/MetaD.cpp b/src/bias/MetaD.cpp index cc5c8e352..15e725ff0 100644 --- a/src/bias/MetaD.cpp +++ b/src/bias/MetaD.cpp @@ -1796,8 +1796,8 @@ void MetaD::computeReweightingFactor() if( !welltemp_ ) error("cannot compute the c(t) reweighting factors for non well-tempered metadynamics"); if(biasf_==1.0) { -// in this case we have no bias, so reweight factor is 1.0 - getPntrToComponent("rct")->set(1.0); +// in this case we have no bias, so reweight factor is 0.0 + getPntrToComponent("rct")->set(0.0); return; } -- GitLab