Open avcarr2 opened 1 year ago
BinarySearch of double array does not check to see if closer value is left or right.
https://github.com/smith-chem-wisc/MetaMorpheus/blob/2729265b3467c82a2770acb34ff283ad6194d0ac/MetaMorpheus/EngineLayer/ClassicSearch/ClassicSearchEngine.cs#L245-L254
All binary searches are handled incorrectly in MiniClassicSearchEngine.cs.
I'm not sure if this one is correct or not: https://github.com/smith-chem-wisc/MetaMorpheus/blob/2729265b3467c82a2770acb34ff283ad6194d0ac/MetaMorpheus/EngineLayer/PrecursorSearchModes/IntervalMassDiffAcceptor.cs#L19-L32C23
BinarySearch of double array does not check to see if closer value is left or right.
https://github.com/smith-chem-wisc/MetaMorpheus/blob/2729265b3467c82a2770acb34ff283ad6194d0ac/MetaMorpheus/EngineLayer/ClassicSearch/ClassicSearchEngine.cs#L245-L254