Skip to content

Commit 43574ba

Browse files
committed
Use other overload of ROOT::Minuit2VariableMetricMinimizer::Minimize
The overload that was currently used was recently removed to keep the interface clean: root-project/root#16443
1 parent 573b862 commit 43574ba

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

OnlineDB/CSCCondDB/src/CSCFitAFEBThr.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,8 @@ bool CSCFitAFEBThr::ThresholdNoise(const std::vector<float>& inputx,
130130
// <<" "<<ery[i]<<std::endl;
131131

132132
/// Fit as 1D, <=500 iterations, edm=10**-5 (->0.1)
133-
FunctionMinimum fmin = theFitter->Minimize(*theOBJfun, parinit, erparinit, 1, 500, 0.1);
133+
FunctionMinimum fmin =
134+
theFitter->Minimize(*theOBJfun, MnUserParameterState{parinit, erparinit}, MnStrategy{1}, 500, 0.1);
134135

135136
status = fmin.IsValid();
136137

0 commit comments

Comments
 (0)