cilib/cilib — pull request #203 by robgarden (2014-02-25 09:11:06+00:00)
Title: Fix Von Neumann Neighbourhood

The index of the south entity was incorrect for certain topology sizes.
Specifically, topologies with 3, 7 and 8 entities resulted in an index
out of bounds exception.

Wrapping now works correctly for all topology sizes.