Skip to content

Commit ca73970

Browse files
author
janekdererste
committed
copy events writing setting if output module is replaced
1 parent 90b50a7 commit ca73970

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/simulation/config.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ impl Config {
4949
output_dir: out_dir,
5050
profiling: config.output().profiling,
5151
logging: config.output().logging,
52-
write_events: Default::default(),
52+
write_events: config.output().write_events,
5353
});
5454
}
5555
config
@@ -98,7 +98,7 @@ impl Config {
9898
output_dir: "./".to_string(),
9999
profiling: Profiling::None,
100100
logging: Logging::Info,
101-
write_events: Default::default(),
101+
write_events: WriteEvents::None,
102102
};
103103
self.modules
104104
.borrow_mut()

0 commit comments

Comments
 (0)