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 Feb 6, 2025
1 parent e756bdb commit 6945649
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -674,7 +674,8 @@ class is_operational_impl
while (canvas_charge_index <= max_index)
{
cds_canvas_copy.foreach_cell(
[&cds_layout, &cds_canvas_copy](const auto& c) {
[&cds_layout, &cds_canvas_copy](const auto& c)
{
cds_layout.assign_charge_state(c, cds_canvas_copy.get_charge_state(c),
charge_index_mode::KEEP_CHARGE_INDEX);
});
Expand Down
6 changes: 2 additions & 4 deletions test/algorithms/physical_design/design_sidb_gates.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -501,10 +501,8 @@ TEST_CASE("Design AND Bestagon shaped gate", "[design-sidb-gates]")
CHECK(found_gate_layouts_quickcell.front().num_defects() == 1);
CHECK(found_gate_layouts_quickcell.front().num_cells() == lyt.num_cells() + 2);

found_gate_layouts_quickcell.front().foreach_cell(
[](const auto& cell) {
CHECK(cell != siqad::coord_t{16, 10, 0});
});
found_gate_layouts_quickcell.front().foreach_cell([](const auto& cell)
{ CHECK(cell != siqad::coord_t{16, 10, 0}); });
}
}

Expand Down

0 comments on commit 6945649

Please sign in to comment.