Always set b-state posres, even if identical to a-state
authorErik Lindahl <erik@kth.se>
Fri, 20 Jun 2014 15:23:06 +0000 (17:23 +0200)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Fri, 27 Jun 2014 21:51:28 +0000 (23:51 +0200)
commit0e80bfd460b0faa686b3723e36852cbde0f859d0
tree520f58f392993f0a09132c3a39029270daee2de6
parentee58a7ba4eaa35e3050a2e3aa08a94f288f3ece3
Always set b-state posres, even if identical to a-state

Previously we did not read the b-state position restraint
file (option -rb) if the name was identical to the a-state,
which caused the position restraints to be zero. Rather
than trying to be smart, we now always read it.

Fixes #1399.

Change-Id: I13d93ab667734f022e48143e4cd0672b7f303e1c
src/gromacs/gmxpreprocess/grompp.c