Skip to content

Commit

Permalink
optk.minimum -> optk.minimizer
Browse files Browse the repository at this point in the history
  • Loading branch information
chkwon committed Jan 13, 2017
1 parent cd061e4 commit 2fe8bc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/frank_wolfe.jl
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ function ta_frank_wolfe(ta_data; method=:bfw, max_iter_no=2000, step=:exact, log
if step==:exact
# Line Search from xk in the direction dk
optk = optimize(tau -> objective(xk+tau*dk), 0.0, 1.0, GoldenSection())
tauk = optk.minimum
tauk = optk.minimizer
elseif step==:newton
# Newton step
tauk = - dot( gradient(xk), dk ) / dot( dk, Hk_diag.*dk )
Expand Down

0 comments on commit 2fe8bc0

Please sign in to comment.