Fixed bug in gmx disres indexing arrays.
commit7e1bfb450265724adbe0a0c74b59fc4328ee1771
authorDavid van der Spoel <spoel@xray.bmc.uu.se>
Tue, 1 Aug 2017 16:09:16 +0000 (1 18:09 +0200)
committerDavid van der Spoel <davidvanderspoel@gmail.com>
Thu, 3 Aug 2017 14:06:54 +0000 (3 16:06 +0200)
tree017f9e57d964fddda41fa087e0434eabf19b7d04
parentd042b9fad61ca021dc4b71d6d68745bad03cf97b
Fixed bug in gmx disres indexing arrays.

The call to routines in listed-forces/disre.cpp returns values
in a different manner than previously. This meant that gmx disre
would crash since it expected a value to be non-zero.

Change-Id: Ib7008a9655f7e4a8b56ab1319bab9b2104273721
src/gromacs/gmxana/gmx_disre.cpp
src/gromacs/listed-forces/disre.cpp