Skip to content

Commit

Permalink
copy events writing setting if output module is replaced
Browse files Browse the repository at this point in the history
  • Loading branch information
janekdererste committed Jul 17, 2024
1 parent 90b50a7 commit ca73970
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/simulation/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ impl Config {
output_dir: out_dir,
profiling: config.output().profiling,
logging: config.output().logging,
write_events: Default::default(),
write_events: config.output().write_events,
});
}
config
Expand Down Expand Up @@ -98,7 +98,7 @@ impl Config {
output_dir: "./".to_string(),
profiling: Profiling::None,
logging: Logging::Info,
write_events: Default::default(),
write_events: WriteEvents::None,
};
self.modules
.borrow_mut()
Expand Down

0 comments on commit ca73970

Please sign in to comment.