Skip to content

Commit

Permalink
Consistency with ClassicalOPs 0.12.4 (#96)
Browse files Browse the repository at this point in the history
* consistency fix for ClassicalOPs 0.12.4+
  • Loading branch information
TSGut authored Feb 8, 2024
1 parent 62a0399 commit 5d48cc5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "SemiclassicalOrthogonalPolynomials"
uuid = "291c01f3-23f6-4eb6-aeb0-063a639b53f2"
authors = ["Sheehan Olver <[email protected]>"]
version = "0.5.4"
version = "0.5.5"

[deps]
ArrayLayouts = "4c555306-a7a7-4459-81d9-ec55ddd5c99a"
Expand All @@ -20,7 +20,7 @@ SpecialFunctions = "276daf66-3868-5448-9aa4-cd146d93841b"
[compat]
ArrayLayouts = "1"
BandedMatrices = "0.17, 1"
ClassicalOrthogonalPolynomials = "0.11, 0.12"
ClassicalOrthogonalPolynomials = "0.12.4"
ContinuumArrays = "0.15, 0.16, 0.17"
FillArrays = "1"
HypergeometricFunctions = "0.3.4"
Expand Down
4 changes: 2 additions & 2 deletions src/SemiclassicalOrthogonalPolynomials.jl
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,9 @@ function semiclassical_jacobimatrix(t, a, b, c)
P = Normalized(jacobi(b, a, UnitInterval{T}()))
iszero(c) && return jacobimatrix(P)
if isone(c)
return cholesky_jacobimatrix(x->(t-x),P)
return cholesky_jacobimatrix(Symmetric(P \ ((t.-axes(P,1)).*P)), P)
elseif isone(c/2)
return qr_jacobimatrix(x->(t-x),P)
return qr_jacobimatrix(Symmetric(P \ ((t.-axes(P,1)).*P)), P)
elseif isinteger(c) && c 0 # reduce other integer c cases to hierarchy
return SemiclassicalJacobi.(t, a, b, 0:Int(c))[end].X
else # if c is not an integer, use Lanczos
Expand Down

2 comments on commit 5d48cc5

@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/100489

Tip: Release Notes

Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.

@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.

Tagging

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.5.5 -m "<description of version>" 5d48cc531b72418491064130fb9fa677871341b1
git push origin v0.5.5

Please sign in to comment.