Skip to content
Snippets Groups Projects
Commit a824f84d authored by Kim Albertsson's avatar Kim Albertsson Committed by Lorenzo Moneta
Browse files

[TMVA] CV modernise -- use dynamic_cast for downcasting

parent acd7ad62
No related branches found
No related tags found
No related merge requests found
......@@ -75,7 +75,7 @@ void TMVA::CrossValidationResult::Fill(CrossValidationFoldResult const & fr)
UInt_t iFold = fr.fFold;
fROCs[iFold] = fr.fROCIntegral;
fROCCurves->Add(static_cast<TGraph *>(fr.fROC.Clone()));
fROCCurves->Add(dynamic_cast<TGraph *>(fr.fROC.Clone()));
fSigs[iFold] = fr.fSig;
fSeps[iFold] = fr.fSep;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment