We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8698396 commit 7415a26Copy full SHA for 7415a26
Common/MathUtils/include/MathUtils/fit.h
@@ -59,7 +59,7 @@ template <typename T>
59
TFitResultPtr fit(const size_t nBins, const T* arr, const T xMin, const T xMax, TF1& func, std::string_view option = "")
60
{
61
Foption_t fitOption;
62
- ROOT::Fit::FitOptionsMake(ROOT::Fit::kHistogram, option.data(), fitOption);
+ ROOT::Fit::FitOptionsMake(ROOT::Fit::EFitObjectType::kHistogram, option.data(), fitOption);
63
64
ROOT::Fit::DataRange range(xMin, xMax);
65
ROOT::Fit::DataOptions opt;
0 commit comments