Skip to content

Commit

Permalink
Removed unnecessary code
Browse files Browse the repository at this point in the history
  • Loading branch information
dylan-asmar committed Jun 27, 2024
1 parent 49f6b0c commit 105284d
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/tree.jl
Original file line number Diff line number Diff line change
Expand Up @@ -365,13 +365,6 @@ function update_bin_node!(tree::SARSOPTree, b_idx::Int)
return initialize_bin_node!(tree, b_idx)
end

key = tree.bm.bin_levels_nodes[1][b_idx][:key]
bin_count = get(tree.bm.bin_levels[1][:bin_count], key, 0)
if bin_count == 0
error("We shouldn't ever reach here, right?")
# return initialize_bin_node!(tree, b_idx)
end

for level_i in 1:tree.bm.num_levels
key = tree.bm.bin_levels_nodes[level_i][b_idx][:key]

Expand Down

0 comments on commit 105284d

Please sign in to comment.