Skip to content

Commit b1f5cf7

Browse files
authored
[RF] disable analytical integrals also with linear interpolation
Fixes #20116
1 parent 2cff8d5 commit b1f5cf7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roofit/roofitcore/src/RooHistPdf.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ Int_t RooHistPdf::getAnalyticalIntegral(RooArgSet& allVars,
319319
// Disable partial analytical integrals if interpolation is used, and we
320320
// integrate over sub-ranges, but leave them enabled when we integrate over
321321
// the full range of one or several variables
322-
if (intOrder > 1 && !(code & 1)) {
322+
if (intOrder > 0 && !(code & 1)) {
323323
analVars.removeAll();
324324
return 0;
325325
}

0 commit comments

Comments
 (0)