Skip to content

Commit

Permalink
Update src/pairwise.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
matbesancon authored Sep 10, 2024
1 parent 7aa6e39 commit 4627685
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pairwise.jl
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ function pairwise_frank_wolfe(
v = compute_extreme_point(lmo, gradient)
primal = f(x)
dual_gap = fast_dot(x, gradient) - fast_dot(v, gradient)
dual_gap = phi_value > dual_gap ? dual_gap : phi_value
dual_gap = min(phi_value, dual_gap)
step_type = ST_LAST
tot_time = (time_ns() - time_start) / 1e9
if callback !== nothing
Expand Down

0 comments on commit 4627685

Please sign in to comment.