From db80c243ceafb49416021d0d5603121e36be9a4b Mon Sep 17 00:00:00 2001 From: ddobrigk Date: Wed, 13 Nov 2024 10:20:11 +0100 Subject: [PATCH] fix typo 3 --- MC/config/PWGLF/pythia8/generator_pythia8_extraStrangeness.C | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MC/config/PWGLF/pythia8/generator_pythia8_extraStrangeness.C b/MC/config/PWGLF/pythia8/generator_pythia8_extraStrangeness.C index 1e6b2fc23..53a3b5887 100644 --- a/MC/config/PWGLF/pythia8/generator_pythia8_extraStrangeness.C +++ b/MC/config/PWGLF/pythia8/generator_pythia8_extraStrangeness.C @@ -280,7 +280,7 @@ private: { auto generator = new GeneratorPythia8ExtraStrangeness(); gRandom->SetSeed(0); - generator.readString("Random:setSeed = on"); - generator.readString("Random:seed =" + std::to_string(gRandom->Integer(900000000 - 2) + 1)); + generator->readString("Random:setSeed = on"); + generator->readString("Random:seed =" + std::to_string(gRandom->Integer(900000000 - 2) + 1)); return generator; }