From 3a1539f5d20d182f143df9e47c102d6703149466 Mon Sep 17 00:00:00 2001 From: Gareth Tribello <gareth.tribello@gmail.com> Date: Sun, 14 Apr 2013 11:05:00 +0100 Subject: [PATCH] Fixed embarassingly stupid bug in ManyRestratintsBase. --- src/manyrestraints/ManyRestraintsBase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/manyrestraints/ManyRestraintsBase.cpp b/src/manyrestraints/ManyRestraintsBase.cpp index fb6493992..e30e93c80 100644 --- a/src/manyrestraints/ManyRestraintsBase.cpp +++ b/src/manyrestraints/ManyRestraintsBase.cpp @@ -55,7 +55,7 @@ void ManyRestraintsBase::createRestraints( const unsigned& nrestraints ){ void ManyRestraintsBase::apply(){ plumed_dbg_assert( getNumberOfComponents()==1 ); - getPntrToComponent(0)->addForce(1.0); + getPntrToComponent(0)->addForce(-1.0); getForcesFromVessels( forcesToApply ); setForcesOnAtoms( forcesToApply ); } -- GitLab