gmx covar index range range check is incorrect
The index range check of gmx covar added in 875711494b5 checks for index smaller than, but should be larger than. Also "largestOkayIndex" is wrongly named, this is numAtoms (so one more). And the error message should add one to the printed index, as internal counting starts from zero.
issue