Skip to content

Commit

Permalink
fix bracket in pruning check short-circuiting
Browse files Browse the repository at this point in the history
  • Loading branch information
qhho committed Jul 29, 2024
1 parent 3e10a8c commit f6a2fcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/prune.jl
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ function prune_alpha!(tree::SARSOPTree, δ)
for (i, α_i) enumerate(Γ)
pruned[i] && continue
for (j, α_j) enumerate(Γ)
pruned[j] || j == i && continue
(pruned[j] || j == i) && continue
recertify_witnesses!(tree, α_i, α_j, δ)
if isempty(α_i.witnesses)
pruned[i] = true
Expand Down

0 comments on commit f6a2fcc

Please sign in to comment.