Avoid accessing hackblocks for x2top
commitfadb3ecbf47b9b2d1cafbc9c09b3c9621ecd8d0f
authorErik Lindahl <erik@kth.se>
Tue, 23 Jun 2015 20:43:33 +0000 (23 16:43 -0400)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Wed, 24 Jun 2015 21:09:06 +0000 (24 23:09 +0200)
tree5233e7a4fd2725fe480bb254c26a16376ae6f1fe
parent3ccedc2d4136ed955854297f2f399deb727d9529
Avoid accessing hackblocks for x2top

Previous fixes for generating dihedrals would cause us to access
the hackblock even when using x2top, which we should not do.

Fixes #1711.

Change-Id: Id0ea6d524d80b87fe257c9fd4f1c48c4be828654
src/gromacs/gmxpreprocess/gen_ad.c