Skip to content

Commit

Permalink
remove unbound type parameter (#1005)
Browse files Browse the repository at this point in the history
Unbound type parameters often cause performance issues and run time
dispatch.

Issue found using JuliaLang/julia#46608
  • Loading branch information
nsajko authored Nov 23, 2022
1 parent 38cfbe8 commit d287f1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/univariate/printing.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ function print_header(method::Brent)
end


function Base.show(io::IO, trace::OptimizationTrace{<:Real, Brent}) where T
function Base.show(io::IO, trace::OptimizationTrace{<:Real, Brent})
@printf io "Iter Function value Lower bound Upper bound Best bound\n"
@printf io "------ -------------- ----------- ----------- ----------\n"
for state in trace.states
Expand Down

0 comments on commit d287f1a

Please sign in to comment.