Skip to content

Commit

Permalink
CompatHelper: bump compat for "HypergeometricFunctions" to "0.3" (#137)
Browse files Browse the repository at this point in the history
* CompatHelper: bump compat for "HypergeometricFunctions" to "0.3"

* test alternate without dual numbers?

* revert change

* Ok epsilon, you win

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Sheehan Olver <solver@mac.com>
Co-authored-by: Mikael Slevinsky <Richard.Slevinsky@umanitoba.ca>
  • Loading branch information
3 people authored Jul 9, 2020
1 parent ede9784 commit db36524
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ ApproxFunSingularities = "0.1.6"
BandedMatrices = "0.14.2, 0.15"
DomainSets = "0.1, 0.2, 0.3"
DualNumbers = "0.6"
HypergeometricFunctions = "0.1, 0.2"
HypergeometricFunctions = "0.1, 0.2, 0.3"
LowRankApprox = "0.4"
SpecialFunctions = "0.7, 0.8, 0.9, 0.10"
julia = "1.3"
Binary file removed src/.DS_Store
Binary file not shown.
5 changes: 3 additions & 2 deletions src/stieltjesmoment.jl
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,12 @@ function logjacobimoment(α::Real,β::Real,n::Int,z)
if n == 0
2normalization(0,α,β)*(log(z-1)-dualpart(_₂F₁(dual(zero(α)+eps+β),one(β)),α+1+β+2,x)))
# For testing purposes only, should be equivalent to above within radius of convergence
#2normalization(0,α,β)*(log(z-1)-(α+1)/(α+β+2)*x.*_₃F₂(α+2,α+β+3,x))
# 2normalization(0,α,β)*(log(z-1)-(α+1)/(α+β+2)*x*_₃F₂(α+2,α+β+3,x))
else
-2normalization(n,α,β)/n*(-x)^n*_₂F₁(n,n+α+1,2n+α+β+2,x)
end
end

logjacobimoment::Real::Real,z) = logjacobimoment(α,β,0,z)


Expand All @@ -43,7 +44,7 @@ function logabsjacobimoment(α::Real,β::Real,n::Int,z)
if n == 0
2normalization(0,α,β)*(logabs(z-1)-real(dualpart(_₂F₁(dual(zero(α)+eps+β),one(β)),α+1+β+2,x))))
# For testing purposes only, should be equivalent to above within radius of convergence
#2normalization(0,α,β)*(log(z-1)-(α+1)/(α+β+2)*x.*_₃F₂(α+2,α+β+3,x))
# 2normalization(0,α,β)*(logabs(z-1)-real((α+1)/(α+β+2)*x*_₃F₂(α+2,α+β+3,x)))
else
-2normalization(n,α,β)/n*real((-x)^n*_₂F₁(n,n+α+1,2n+α+β+2,x))
end
Expand Down
4 changes: 2 additions & 2 deletions test/logkerneltest.jl
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ import SingularIntegralEquations: testsies, testsieeval, stieltjesmoment, Direct
@test (H*f)(3.5+0.5im) logkernel(f,3.5+0.5im)
end

@testset "Circle" begin
@testset "Circle" begin
d=Circle(0.2,3.0)
S=Fourier(d)
ζ=Fun(d)
Expand All @@ -52,7 +52,7 @@ import SingularIntegralEquations: testsies, testsieeval, stieltjesmoment, Direct
z=0.2+3im;@test (H*f)(z) logkernel(f,z)
end

@testset "Legendre and Jacobi on intervel" begin
@testset "Legendre and Jacobi on interval" begin
x=Fun()
f=exp(x)

Expand Down

2 comments on commit db36524

@dlfivefifty
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/17713

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.6.4 -m "<description of version>" db36524fc2a56e71457aeb34e5ac9e63567dc2e9
git push origin v0.6.4

Please sign in to comment.