Fix genion -nq and -pq when using -neutral
authorPedro Lacerda <kanvuanza+gmx@zoho.com>
Mon, 20 May 2013 05:11:16 +0000 (02:11 -0300)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Wed, 22 May 2013 07:19:00 +0000 (09:19 +0200)
commit9dc3fe4ab0329965bf093661572ff3a4306b4aa3
tree153a51dadfe94d3f62e1fe419d6610e66ebf86a9
parentf78f0dc83f55d588f0fbc049af667519d9cf868e
Fix genion -nq and -pq when using -neutral

Currently genion can't neutralize (-neutral) systems when -nq/-pq
differs from -1/+1. This commit fixes the problem.

Change-Id: If2a82ace079555d8a684ea876daa947677d5e442
src/tools/gmx_genion.c