Skip to content

Commit

Permalink
🎨 Incorporated pre-commit fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Jan 14, 2025
1 parent 20b647d commit 311b94d
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions test/algorithms/simulation/sidb/clustercomplete.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,9 @@ static bool
verify_clustercomplete_result_by_charge_indices(const charge_distribution_surface<Lyt>& qe_cds,
const std::vector<charge_distribution_surface<Lyt>>& cc_cdss) noexcept
{
return std::any_of(cc_cdss.cbegin(), cc_cdss.cend(),
[&](const auto& cc_cds) {
return cc_cds.get_charge_index_and_base().first == qe_cds.get_charge_index_and_base().first;
});
return std::any_of(
cc_cdss.cbegin(), cc_cdss.cend(), [&](const auto& cc_cds)
{ return cc_cds.get_charge_index_and_base().first == qe_cds.get_charge_index_and_base().first; });
}

TEMPLATE_TEST_CASE("ClusterComplete simulation of a 4 DB layout with a positive charge", "[clustercomplete]",
Expand Down

0 comments on commit 311b94d

Please sign in to comment.