Avoid segmentation fault in gmx chi.
commite7dc5714e7d0f791ac2b82f40347dd25bbbb87a7
authorJustin Lemkul <jalemkul@vt.edu>
Fri, 14 Aug 2015 00:28:21 +0000 (13 20:28 -0400)
committerJustin Lemkul <jalemkul@vt.edu>
Fri, 14 Aug 2015 01:05:08 +0000 (13 21:05 -0400)
tree16d0b9c4c186000f229a6e369a8ca34b46f9ad84
parentb80193784dd4ac929f18c30031a91141e650baa9
Avoid segmentation fault in gmx chi.

If a system containing a custom residue is being analyzed, gmx chi
would seg fault if that residue was not in residuetypes.dat. This
can occur, for instance, when the topology is created in some
directory and analysis in another, or if the analysis is done on
a different machine.

Fixes #1802

Change-Id: I85df855381c8e233020fd1e1f73165d4e1215ab9
src/gromacs/gmxana/dlist.c