From f513ecf6115672a54124df135323f552b82c5ea8 Mon Sep 17 00:00:00 2001 From: Vladimir Date: Wed, 31 Aug 2022 19:36:58 +0200 Subject: [PATCH] Fixed compilation warning for FTFP model --- .../parton_string/diffraction/include/G4FTFTunings.hh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/processes/hadronic/models/parton_string/diffraction/include/G4FTFTunings.hh b/source/processes/hadronic/models/parton_string/diffraction/include/G4FTFTunings.hh index c9ad8386d0..deb5e0fc0e 100644 --- a/source/processes/hadronic/models/parton_string/diffraction/include/G4FTFTunings.hh +++ b/source/processes/hadronic/models/parton_string/diffraction/include/G4FTFTunings.hh @@ -144,7 +144,7 @@ class G4FTFTunings { G4FTFTuningsMessenger* fMessenger; - const std::array< G4String, sNumberOfTunes > fNameOfTunes = { + const std::array< G4String, sNumberOfTunes > fNameOfTunes = { { "default", // 0th tuning: default set "tune2022-v0", // 1st tuning: name from Julia Yarba's presentation on 20-Jul-2022 "second-dummy", // 2nd tuning: dummy @@ -155,10 +155,10 @@ class G4FTFTunings { "seventh-dummy", // 7th tuning: dummy "eighth-dummy", // 8th tuning: dummy "nineth-dummy" // 9th tuning: dummy - }; + } }; // The names of tunes can be useful for debugging. - std::array< G4int, sNumberOfTunes > fApplicabilityOfTunes = { 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 }; + std::array< G4int, sNumberOfTunes > fApplicabilityOfTunes = { { 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 } }; // Each tune has an integer that specifies its applicability. // For the time being, there only two values: // 0 : tune is switched off (i.e. not applicable);