Skip to content

Commit

Permalink
function name update
Browse files Browse the repository at this point in the history
  • Loading branch information
dylan-asmar committed Jun 28, 2024
1 parent 10c99ec commit ff3e8cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/prune.jl
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ function prune!(tree::SARSOPTree)
end
end

@inline function intersection_distance_new(α1, α2, b)
@inline function intersection_distance(α1, α2, b)
diff = α1 - α2
dot_b = dot(diff, b)
dot_diff = dot(diff, diff)
Expand Down Expand Up @@ -92,7 +92,7 @@ function prune_alpha!(tree::SARSOPTree, δ, eps=0.0)
if keep_non_dom[j]
continue
end
intx_dist = intersection_distance_new(Γ[dom_vec_idx], Γ[non_dom_idx], B_valid[b_idx])
intx_dist = intersection_distance(Γ[dom_vec_idx], Γ[non_dom_idx], B_valid[b_idx])
if !isnan(intx_dist) && (intx_dist + eps δ)
keep_non_dom[j] = true
end
Expand Down

0 comments on commit ff3e8cc

Please sign in to comment.