And again at lines 30 and 40 in that file.
On Tuesday, 23 August 2016 14:11:44 UTC+1, Scott T wrote:
>
> Looks like like 5 uses the old syntax:
>
> flag = Sundials.CVodeSetUserData(mem, {f,r,d,p})
>
> Try:
>
> flag = Sundials.CVodeSetUserData(mem, [f,r,d,p])
>
>
> On Tuesday, 23 August 2016
Looks like like 5 uses the old syntax:
flag = Sundials.CVodeSetUserData(mem, {f,r,d,p})
Try:
flag = Sundials.CVodeSetUserData(mem, [f,r,d,p])
On Tuesday, 23 August 2016 14:06:24 UTC+1, Simon Frost wrote:
>
> Thanks for the info; it still isn't clear to me how the (generic) call to
> this
Thanks for the info; it still isn't clear to me how the (generic) call to
this function should be changed:
function cvode{f,r,T}(::Type{f},::Type{r},d::Array{Int64},p::Vector{T}, y0
::Vector{Float64}, t::Vector{Float64}; reltol::Float64=1e-4, abstol::Float64
=1e-6)
(from
It used to mean Any[], but not anymore (so `Any[]` is the new syntax).
It was still usable in 0.4 with a deprecation warning, now in 0.5 an
error is thrown. It will get a new meaning in the 0.6 release, but it
is not decided for what yet. See e.g.:
https://github.com/JuliaLang/julia/issues/8470
Dear All,
Apologies if this is mentioned somewhere, but I couldn't find the answer in
various searches. What does '{ } vector syntax is discontinued' mean, and
what is the new syntax?
Best
Simon