adopt PFitter to ROOT v6-38-00 and make sure it is backwards compatible.
All checks were successful
Build and Deploy Documentation / build-and-deploy (push) Successful in 20s

This commit is contained in:
2025-11-27 15:32:16 +01:00
parent 975f48f3fa
commit 89f695d6ce

View File

@@ -2516,7 +2516,7 @@ Bool_t PFitter::ExecuteSave(Bool_t firstSave)
// write correlation matrix
fout << std::endl << " CORRELATION COEFFICIENTS";
fout << std::endl << "-------------------------------------------------------------------------";
if (mnState.HasGlobalCC() && mnState.HasCovariance()) {
if (mnState.IsValid() && mnState.HasCovariance()) {
ROOT::Minuit2::MnGlobalCorrelationCoeff corr = mnState.GlobalCC();
ROOT::Minuit2::MnUserCovariance cov = mnState.Covariance();
PIntVector parNo;