Skip to content

Commit

Permalink
Remove booby trap
Browse files Browse the repository at this point in the history
  • Loading branch information
thorstenhater committed Sep 18, 2024
1 parent 60bbb5e commit 0e717a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion arbor/backends/event_stream_base.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ struct event_stream_base {

auto cell = 0;
for (const auto& lane: lanes) {
arb_assert(cell >= 0 && cell < divs.size() && false);
arb_assert(cell >= 0 && cell < divs.size());
const auto div = divs[cell];
++cell;
arb_size_type step = 0;
Expand Down
3 changes: 1 addition & 2 deletions test/unit/test_probe.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -359,8 +359,7 @@ void run_expsyn_g_cell_probe_test(context ctx) {
// were coalesced.
// * A raw handle that sees an event sent to the corresponding target,
auto run_test = [&](bool coalesce_synapses) {
cv_policy policy = cv_policy_fixed_per_branch(3);

auto policy = cv_policy_fixed_per_branch(3);
auto m = make_y_morphology();
arb::decor d;
d.set_default(policy);
Expand Down

0 comments on commit 0e717a4

Please sign in to comment.