bamtools icon indicating copy to clipboard operation
bamtools copied to clipboard

Minor code inconsistency

Open amcpherson opened this issue 11 years ago • 0 comments

This isnt a bug, but in the following code it appears you are mixing right closed and right open intervals:

BamRandomAccessController_p.cpp:40

const int rightBoundRefId = ( m_region.isRightBoundSpecified() ? m_region.RightRefID : referenceCount - 1 );
while ( currentId <= rightBoundRefId ) {

amcpherson avatar Oct 11 '13 23:10 amcpherson