Fixed bug in gmx disre due to inconsistency in input.
authorDavid van der Spoel <spoel@xray.bmc.uu.se>
Mon, 17 Feb 2020 22:20:24 +0000 (23:20 +0100)
committerArtem Zhmurov <zhmurov@gmail.com>
Sat, 22 Feb 2020 21:00:49 +0000 (22:00 +0100)
commit45752960a79a8cfa585af0da7ae641aab58637c0
treeade54c2f62a22944bd7973f0e020add52880a791
parentd4eeff04637d417d5f054103b0fb11cc72d2f237
Fixed bug in gmx disre due to inconsistency in input.

The gmx disre program used the labels in the distance restraint entries
(see manual) as an index in internal arrays. This might lead to either
memory errors or the program stopping due to uninitialized variables.

Fixes #3384

Change-Id: Ic2d77c3fd81547e030bf7ce21860a71e3adbb2b3
docs/release-notes/2019/2019.6.rst
src/gromacs/gmxana/gmx_disre.cpp