Fixed inconsistency in blocka handling.
commitc6f80ffdbb1e9e0007d9f211d5a39cafdb802742
authorDavid van der Spoel <spoel@xray.bmc.uu.se>
Wed, 2 Jul 2014 14:12:38 +0000 (2 16:12 +0200)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Sat, 5 Jul 2014 12:16:53 +0000 (5 14:16 +0200)
tree5c2327cdb6788fa2f0a275fc8d3f895926fcca18
parente047a9da20496d2243db5a0f7f12e876cb3b9665
Fixed inconsistency in blocka handling.

In some cases the inconsistent handling of blocka structure
throughout the gromacs code could lead to reading uninitialized
variables (src->a[nra]). This is fixed here.

Change-Id: I514072e713c11f5ad7c15dbd702468789d3d53d3
src/gromacs/topology/block.cpp