Oh, and to get the fix, you're going to have to say `Pkg.checkout("Optim")`
until a new release gets tagged.
--Tim
On Tuesday, September 30, 2014 03:30:01 AM [email protected] wrote:
> Hi Tim,
>
> Thanks so much for your answer, indeed this was the issue here. Specifying
> the function the way you said indeed gets rid of the error (and raises a
> new one, namely
>
> `isless` has no method matching isless(::Array{Float64,1},
> ::Array{Float64,1}), I'll try to figure this one out later...). Can I
> bother you with one related but general question: How do I interpret the
> first curly brackets in the function definition? The function definition
> says optimize{T<:Real}(f::Function,
>
> lower::T<:Real,upper::T<:Real), where I understand the f::Function,
> lower::T<:Real, upper::T<:Real give the expected inputs and their
> respective types, but what exactly does the {T<:Real} tell me?
>
> You can tell I'm coming from Matlab and even though I've been doing data
> analysis in Python for a while, object oriented programming still doesn't
> come naturally to me...
>
> Best,
> Nils