broadinstitute/gamgee — pull request #121 by MauricioCarneiro (2014-07-11 19:05:06+00:00)
Title: Move every boundary check to max_boundary check to avoid unnecessary checks

Since @droazen forced me to change utils::check_boundaries to a version that takes in unsigned ints and doesn't check for the lower boundary, it was only reasonable to go around the code and replace all usages that were wastefully checking for lower boundaries and use the new function.

Also, since every single use was passing the index past the limit, I changed the function signature to reflect the most common use case.