Skip to content
Snippets Groups Projects
Commit 8ccc1b86 authored by Nils Gillwald's avatar Nils Gillwald
Browse files

Bug fix: Use wrong vector to calculate largest bin number in findBin()

findBin returns the correct bin of the correction to use for all binned
correction types. It checks if the value lies in the first given bin,
then the second, etc. If it does not lie in any of the given bins, then
it must be in the "overflow" bin going up to "infinity". The calculation
of the overflow bin number is done incorrectly, since the wrong vector
is used: The vector saving all vectors with binned correction values,
instead of the vector saving the currently used binning.
parent 8914c4fa
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment