pFq Not compatible with TaylorSeries package
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 42/100
Research direction
Start by reproducing the reported example at the HypergeometricFunctions.pFq entry point with TaylorSeries' TaylorN values and inspect where the AbstractFloat conversion is triggered. Done means the shown pFq call works when HypergeometricFunctions and TaylorSeries are used together, with coverage for this compatibility case.
Written by the indexing model from the issue text.
Description
I tried to use HypergeometricFunctions and TaylorSeries at the same time as follows.
using HypergeometricFunctions
using Plots
using TaylorSeries
x = set_variables("x", order=100)[1];
Base.isless(y::Number, x::TaylorN) = isless(y, x.coeffs[1].coeffs[1])
Base.log1p(x::TaylorN) = log(1+x)
Base.eps(::Type{TaylorN{T}}) where T = eps(T)
Base.isless(x::TaylorN, y::Number) = isless(x.coeffs[1].coeffs[1], y)
HypergeometricFunctions.pFq((2.0,),(5.0,),x)
However, I got the error:
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
...
- Dominant language
- Julia
- Stars
- 76
- Forks
- 12
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from JuliaMath/HypergeometricFunctions.jl
-
tagbot-manual
Difficulty 1/5 Under an hour Newbie friendliness 78/100
-
Difficulty 4/5 3-5 days Newbie friendliness 42/100
JuliaMath/HypergeometricFunctions.jl#89 · 1 comment ·
-
3F2 returns NaNs Open
Difficulty 4/5 3-5 days Newbie friendliness 35/100
JuliaMath/HypergeometricFunctions.jl#79 · 2 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
JuliaMath/HypergeometricFunctions.jl#73 · 2 comments ·
All issues in JuliaMath/HypergeometricFunctions.jl
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 86/100
SciML/ModelingToolkit.jl#5207 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
CliMA/Oceananigans.jl#6070 · 1 reaction ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
epiforecasts/BVDOutbreakSize#862 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
JuliaLang/LinearAlgebra.jl#1707 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
JuliaPluto/Pluto.jl#3616 ·