Skip to content

Commit

Permalink
clang formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
timspainNERSC committed Sep 18, 2023
1 parent 13de04b commit 40823da
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions core/src/modules/ConfigOutput.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -181,9 +181,8 @@ void ConfigOutput::outputState(const ModelMetadata& meta)
* last output time.
*/
Duration timeSinceOutput = meta.time() - lastOutput;
if (timeSinceOutput.seconds() > 0 && (
everyTS ||
std::fmod(timeSinceOutput.seconds(), outputPeriod.seconds()) == 0.)) {
if (timeSinceOutput.seconds() > 0
&& (everyTS || std::fmod(timeSinceOutput.seconds(), outputPeriod.seconds()) == 0.)) {
Logged::info("ConfigOutput: Outputting " + std::to_string(state.data.size()) + " fields to "
+ currentFileName + " at " + meta.time().format() + "\n");
StructureFactory::fileFromState(state, meta, currentFileName, false);
Expand Down

0 comments on commit 40823da

Please sign in to comment.