IAP GITLAB

Skip to content
Snippets Groups Projects
Commit 0c475fbb authored by Nikos Karastathis's avatar Nikos Karastathis :ocean: Committed by Alan Coleman
Browse files

corsika.cpp prints out the seed independently of logging level

parent bfdd1903
No related branches found
No related tags found
1 merge request!517corsika.cpp prints out the seed independently of logging level
......@@ -103,9 +103,9 @@ void registerRandomStreams(long seed) {
if (seed == 0) {
std::random_device rd;
seed = rd();
CORSIKA_LOG_INFO("random seed (auto) {} ", seed);
std::cout << "random seed (auto) " << seed << std::endl;
} else {
CORSIKA_LOG_INFO("random seed {} ", seed);
std::cout << "random seed {} " << seed << std::endl;
}
RNGManager<>::getInstance().setSeed(seed);
}
......
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