From 11b7776d8bf17171a6bac22eeb6fa25524ed6e14 Mon Sep 17 00:00:00 2001 From: Aliya Nigamova Date: Fri, 19 Dec 2025 15:09:00 +0100 Subject: [PATCH 1/2] fix arguments in combineCreateNLL in FD --- src/FitDiagnostics.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FitDiagnostics.cc b/src/FitDiagnostics.cc index d2e4b41d9f9..7ce3ddbbe84 100644 --- a/src/FitDiagnostics.cc +++ b/src/FitDiagnostics.cc @@ -217,7 +217,7 @@ bool FitDiagnostics::runSpecific(RooWorkspace *w, RooStats::ModelConfig *mc_s, R #else Combine::nllBackend() = RooFit::EvalBackend(RooFit::EvalBackend::defaultValue()).name(); #endif - auto nuisanceNLL = combineCreateNLL(simNuisancePdf, *globalData, nuis, /*warnAboutDifferentBackend=*/false); + auto nuisanceNLL = combineCreateNLL(simNuisancePdf, *globalData, nuis, /*offset=*/true, /*warnAboutDifferentBackend=*/false); Combine::nllBackend() = prevBackend; RooFitResult *res_prefit = 0; From 6ef3f53c9fd3e8a47c9d2e7d88cc2ba850833bb7 Mon Sep 17 00:00:00 2001 From: Aliya Nigamova Date: Fri, 19 Dec 2025 15:13:26 +0100 Subject: [PATCH 2/2] clang --- src/FitDiagnostics.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/FitDiagnostics.cc b/src/FitDiagnostics.cc index 7ce3ddbbe84..6d963ce402b 100644 --- a/src/FitDiagnostics.cc +++ b/src/FitDiagnostics.cc @@ -217,7 +217,8 @@ bool FitDiagnostics::runSpecific(RooWorkspace *w, RooStats::ModelConfig *mc_s, R #else Combine::nllBackend() = RooFit::EvalBackend(RooFit::EvalBackend::defaultValue()).name(); #endif - auto nuisanceNLL = combineCreateNLL(simNuisancePdf, *globalData, nuis, /*offset=*/true, /*warnAboutDifferentBackend=*/false); + auto nuisanceNLL = + combineCreateNLL(simNuisancePdf, *globalData, nuis, /*offset=*/true, /*warnAboutDifferentBackend=*/false); Combine::nllBackend() = prevBackend; RooFitResult *res_prefit = 0;