Skip to content

Commit

Permalink
Update src/node.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
matbesancon authored Oct 29, 2024
1 parent 8d3a858 commit a9d1070
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node.jl
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ function Bonobo.get_branching_nodes_info(tree::Bonobo.BnBTree, node::FrankWolfeN
discarded_set_left, discarded_set_right =
split_vertices_set!(node.discarded_vertices, tree, vidx, x, node.local_bounds)

# Sanity check
# Sanity check
@assert isapprox(sum(active_set_left.weights), 1.0) "sum weights left: $(sum(active_set_left.weights))"
@assert sum(active_set_left.weights .< 0) == 0
for v in active_set_left.atoms
Expand Down

0 comments on commit a9d1070

Please sign in to comment.