Skip to content

Commit 33c9bd0

Browse files
anrisethpkofod
authored andcommitted
Remove old g (#51)
1 parent 35d523d commit 33c9bd0

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/deprecate.jl

-1
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,6 @@ end
135135

136136
function alphatry{T}(alpha::T, df, x::Array, s::Array, xtmp::Array, g::Array, lsr::LineSearchResults, args...)
137137
_warn_g(dep_g_alphatry)
138-
warn("Alphatry")
139138
alphatry(alpha, df, x, s, xtmp, lsr, args...)
140139
end
141140

src/hagerzhang.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ function _hagerzhang!{T}(df,
163163
error("c = ", c, ", lsr = ", lsr)
164164
end
165165
# ia, ib = bisect(phi, lsr, ia, ib, philim) # TODO: Pass options
166-
ia, ib = bisect!(df, x, s, xtmp, g, lsr, ia, ib, philim, display)
166+
ia, ib = bisect!(df, x, s, xtmp, lsr, ia, ib, philim, display)
167167
isbracketed = true
168168
else
169169
# We'll still going downhill, expand the interval and try again

0 commit comments

Comments
 (0)