Use templated write_message in a few more places

From review suggestions

Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
This commit is contained in:
Andrew Johnson 2020-08-06 08:19:03 -04:00 committed by GitHub
parent 4de893043e
commit f1b7cd7938
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 7 deletions

View file

@ -501,7 +501,7 @@ void initialize_history(Particle& p, int64_t index_source)
// Display message if high verbosity or trace is on
if (settings::verbosity >= 9 || p.trace_) {
write_message(fmt::format("Simulating Particle {}", p.id_));
write_message("Simulating Particle {}", p.id_);
}
// Add paricle's starting weight to count for normalizing tallies later