Skip to content

Commit

Permalink
[pre-commit.ci lite] apply automatic fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci-lite[bot] authored Jul 21, 2024
1 parent d12400f commit 39aa537
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion source/module_cell/module_symmetry/symmetry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1798,7 +1798,8 @@ void Symmetry::set_atom_map(const Atom* atoms)

inline bool check_full_atom_map(const std::vector<std::vector<int>>& m)
{
if (m.empty()) return false;
if (m.empty()) { return false;
}
for (const auto& v1 : m) { for (const auto& v2 : v1) { if (v2 == -1) { return false; } } }
return true;
}
Expand Down

0 comments on commit 39aa537

Please sign in to comment.