Skip to content

Commit 7415a26

Browse files
committed
Support ROOT v6.30.01
1 parent 8698396 commit 7415a26

File tree

1 file changed

+1
-1
lines changed
  • Common/MathUtils/include/MathUtils

1 file changed

+1
-1
lines changed

Common/MathUtils/include/MathUtils/fit.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ template <typename T>
5959
TFitResultPtr fit(const size_t nBins, const T* arr, const T xMin, const T xMax, TF1& func, std::string_view option = "")
6060
{
6161
Foption_t fitOption;
62-
ROOT::Fit::FitOptionsMake(ROOT::Fit::kHistogram, option.data(), fitOption);
62+
ROOT::Fit::FitOptionsMake(ROOT::Fit::EFitObjectType::kHistogram, option.data(), fitOption);
6363

6464
ROOT::Fit::DataRange range(xMin, xMax);
6565
ROOT::Fit::DataOptions opt;

0 commit comments

Comments
 (0)