Fixed sign error in posres dvdl
authorBerk Hess <hess@kth.se>
Mon, 16 Jun 2014 07:17:35 +0000 (09:17 +0200)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Wed, 18 Jun 2014 06:47:29 +0000 (08:47 +0200)
commit239fe4f4e359533215dd7c2c1815e53f85751686
tree3ae2b5ae3dbeb83791afd52c1cccfafd7f4eef74
parent4406c454582db94df45f2d37d46acc8d092e10bf
Fixed sign error in posres dvdl

For position restraints the sign of the contribution of the change
in reference location was incorrect. Note that the contribution of
the change in force constant was and is correct.

Fixes #1408.

Change-Id: I75210c3855d13fdd58e0a698d6c5d7c7116f456b
src/gmxlib/bondfree.c