Fixed an off-by-one error in atom counting in gmx_dist.
authorSander Pronk <pronk@cbr.su.se>
Wed, 26 Sep 2012 18:12:48 +0000 (20:12 +0200)
committerSander Pronk <pronk@cbr.su.se>
Thu, 27 Sep 2012 07:29:22 +0000 (09:29 +0200)
commitd02ad55db660d514d6e3d7ec9687195fa540358e
tree525a7e7fe9d36abbb896c1bde6b83123fc9a2014
parent675378213a56bab6c718110b1176604793a004b0
Fixed an off-by-one error in atom counting in gmx_dist.

Replaced atom number in gmx_rmpbc with total number, so it can
accomodate distances between parts of molecules.

Change-Id: I6279c6ae6d61fd761c4d8d37a01c7d856742e6b8
src/tools/gmx_dist.c