Fixed bug in gmx insert-molecules.
commit3f6aff77a251bf1f8686c5405cad7922dd7b6783
authorJochen Hub <jhub@gwdg.de>
Wed, 24 Aug 2016 15:50:08 +0000 (24 17:50 +0200)
committerJochen Hub <jhub@gwdg.de>
Thu, 25 Aug 2016 15:58:11 +0000 (25 17:58 +0200)
treedb6afdec11894c139058684190bd08953c532e24
parent0986ec764ea5c3515ee9f1ce084ad4fa241754f5
Fixed bug in gmx insert-molecules.

With option -ip, and if all trials were unsuccessful, a molecule was
eventually incorrectly placed at 0/0/0 due to a memory error
when referencing to rpos[XX][mol].

Change-Id: I367727210b893652af39217925906cc2dc703465
src/gromacs/gmxpreprocess/insert-molecules.cpp