Skip to content

Commit

Permalink
Clang-Tidy: Braces
Browse files Browse the repository at this point in the history
  • Loading branch information
ax3l committed May 7, 2024
1 parent 4531519 commit c4b55db
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Source/Diagnostics/ParticleDiag/ParticleDiag.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,9 @@ ParticleDiag::ParticleDiag (
+"' is not an existing attribute for this species");
m_plot_flags[existing_variable_names.at(var)] = 1;

if (var == "x" || var == "y" || var == "z")
if (var == "x" || var == "y" || var == "z") {
contains_positions = true;
}
}
}
}
Expand Down

0 comments on commit c4b55db

Please sign in to comment.