From cd64042b056d2464bec27e0e639070782ea4b3e3 Mon Sep 17 00:00:00 2001 From: Kim Albertsson <ketost@gmail.com> Date: Tue, 11 Sep 2018 14:18:13 +0200 Subject: [PATCH] [TMVA] CV modernise -- Make sure to concatenate string --- tmva/tmva/src/CrossValidation.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tmva/tmva/src/CrossValidation.cxx b/tmva/tmva/src/CrossValidation.cxx index 97ee89cda7f..22d6942e19a 100644 --- a/tmva/tmva/src/CrossValidation.cxx +++ b/tmva/tmva/src/CrossValidation.cxx @@ -394,7 +394,7 @@ TMVA::CrossValidationFoldResult TMVA::CrossValidation::ProcessFold(UInt_t iFold, TString methodTypeName = methodInfo.GetValue<TString>("MethodName"); TString methodTitle = methodInfo.GetValue<TString>("MethodTitle"); TString methodOptions = methodInfo.GetValue<TString>("MethodOptions"); - TString foldTitle = methodTitle + ("_fold") + (iFold + 1); + TString foldTitle = methodTitle + TString("_fold") + TString::Format("%i", iFold + 1); Log() << kDEBUG << "Processing " << methodTitle << " fold " << iFold << Endl; -- GitLab