Fix range bug in add_selection_groups in tngio.cpp
commit9dcb77416f8fc03ad819aa787dda4012f517abe7
authorBerk Hess <hess@kth.se>
Tue, 13 Feb 2018 10:40:28 +0000 (13 11:40 +0100)
committerMark Abraham <mark.j.abraham@gmail.com>
Wed, 14 Feb 2018 12:52:38 +0000 (14 13:52 +0100)
tree1e4da0d31b0405e9119140039e462b0250e56732
parente0a4145b07059e7c320ac8524b399cc3b48b7950
Fix range bug in add_selection_groups in tngio.cpp

If there were more molecule blocks than types in the topology,
atoms from the later blocks could be missing in selections written
to tng.

Change-Id: I8bf840b2f019ca9b3c2ccefcf48da866bf8ec559
src/gromacs/fileio/tngio.cpp