Open
Description
using TaylorSeries
using HypergeometricFunctions
function bbb(params)
x,y = params
return _₁F₁(2,3,x+0.5*y-1)
end
x, y = set_variables("x y", order=8)
bbb([x,y])
ERROR: MethodError: no method matching AbstractFloat(::TaylorN{Float64})
Closest candidates are:
(::Type{T})(::T) where T<:Number
@ Core boot.jl:792
(::Type{T})(::AbstractChar) where T<:Union{AbstractChar, Number}
@ Base char.jl:50
(::Type{T})(::Base.TwicePrecision) where T<:Number
@ Base twiceprecision.jl:266
...
Can anybody tell me how to solve it?
Metadata
Metadata
Assignees
Labels
No labels