Skip to content

Commit

Permalink
Merge branch 'master' into secant-backtracking
Browse files Browse the repository at this point in the history
  • Loading branch information
dhendryc authored Sep 24, 2024
2 parents 06b4204 + a67fdba commit bfa64bf
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 bfa64bf

Please sign in to comment.