Skip to content

Commit 7777e19

Browse files
committed
Update jacobi.jl
1 parent f42af97 commit 7777e19

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

src/classical/jacobi.jl

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -318,19 +318,6 @@ function _jacobi_convert_b(a, b, k, T) # Jacobi(a, b+k) \ Jacobi(a, b)
318318
end
319319
end
320320

321-
"""
322-
_approx_integer(x; kw...)
323-
324-
Returns `y::Integer` such that `isapprox(x,y; kw...)` is `true`. Throws `InexactError` if `y` does not exist.
325-
"""
326-
function _approx_integer(x; kw...)
327-
y = round(x)
328-
if !isapprox(x,y; kw...)
329-
throw(InexactError(_approx_integer, x))
330-
end
331-
Integer(y)
332-
end
333-
334321
function \(A::Jacobi, B::Jacobi)
335322
T = promote_type(eltype(A), eltype(B))
336323
aa, ab = A.a, A.b

0 commit comments

Comments
 (0)