You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
guitargeek
changed the title
Off-by-one error in Roofit/Histfactory/HistoToWorkspaceFactoryFast
[RF] Off-by-one error in Roofit/Histfactory/HistoToWorkspaceFactoryFast
Apr 25, 2023
There is an error here that was introduced in
dc65afe
:root/roofit/histfactory/src/HistoToWorkspaceFactoryFast.cxx
Lines 760 to 762 in 6abb8e9
This error should only be thrown when the number of observables is not 1, 2 or 3, but currently fires if the number is equal to 3.
See the change from
dc65afe
here where the mistake is evident:dc65afe#diff-42ea09980f1ed2bacde4381f212c35d78be6ddedccf746953dc99d6455525d8aL1256-R1221
The conditional should be
if (fObsNameVec.empty() || fObsNameVec.size() > 3)
The text was updated successfully, but these errors were encountered: