File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -102,8 +102,6 @@ TEST(RooMultiPdfTest, FitConvergesAndReturnsReasonableResult)
102102 RooMinimizer minim1{*nll1};
103103 minim1.setStrategy (0 );
104104 int status1 = minim1.minimize (" Minuit2" , " " );
105-
106-
107105
108106 int n_param_gaus1 = countFloatingParametersIncludingObservable (gaus1);
109107
@@ -133,9 +131,8 @@ TEST(RooMultiPdfTest, FitConvergesAndReturnsReasonableResult)
133131
134132 RooAbsPdf *selectedPdf = multipdf.getPdf (i);
135133 std::unique_ptr<RooAbsReal> nll_direct{selectedPdf->createNLL (*data, RooFit::EvalBackend (" codegen" ))};
136-
137- int n_param = countFloatingParametersIncludingObservable (*selectedPdf);
138134
135+ int n_param = countFloatingParametersIncludingObservable (*selectedPdf);
139136
140137 double multi = nll_multi->getVal ();
141138 double direct = nll_direct->getVal () + 0.5 *n_param ;
@@ -188,8 +185,7 @@ TEST(RooMultiPdfTest, PenaltyTermIsAppliedCorrectly)
188185 double val_gauss1 = nll_gauss1->getVal ();
189186 double val_multi = nll_multi->getVal ();
190187 int n_params = countFloatingParametersIncludingObservable (gauss1);
191-
192-
188+
193189 const double expected_penalty = 0.5 * n_params;
194190 const double delta = val_multi - val_gauss1;
195191
You can’t perform that action at this time.
0 commit comments