Skip to content

Commit 80e34dc

Browse files
StewMHstephenswat
authored andcommitted
Make deterministic the default
1 parent 65a0df5 commit 80e34dc

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

examples/options/include/traccc/options/throughput.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class throughput : public interface {
3838
std::size_t cold_run_events = 10;
3939

4040
/// Enable or disable the randomization of event processing
41-
bool deterministic_event_order = false;
41+
bool deterministic_event_order = true;
4242
/// Set the random event processing seed
4343
unsigned int random_seed = 0;
4444

examples/options/src/throughput.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ throughput::throughput() : interface("Throughput Measurement Options") {
3737
po::value(&cold_run_events)->default_value(cold_run_events),
3838
"Number of events to run 'cold'");
3939
m_desc.add_options()("deterministic",
40-
po::bool_switch(&deterministic_event_order)
40+
po::value<bool>(&deterministic_event_order)
4141
->default_value(deterministic_event_order),
4242
"Process events in deterministic order");
4343
m_desc.add_options()("random-seed",

0 commit comments

Comments
 (0)