fixed segfault in graph code with coordinate subsets
authorBerk Hess <hess@kth.se>
Wed, 18 Apr 2012 11:23:42 +0000 (13:23 +0200)
committerBerk Hess <hess@kth.se>
Wed, 18 Apr 2012 11:23:42 +0000 (13:23 +0200)
commit7fcf35ba409742a1cbe8d59f7064c0e8b341d86c
tree6741be11f02365ffd47053c8757ef3a2009b6e86
parent682cf5f7687081b69561e7c9585899187fbd0220
fixed segfault in graph code with coordinate subsets

The graph code checked for atom indices above the subset size,
but not for settle. The check for settle has been added.
Fixes #809

Change-Id: I67ddbd3dab5a34f57a29f54f4b07918a6d74c38c
src/gmxlib/mshift.c