Skip to content

Commit d832ae5

Browse files
authored
Remove log (#284)
1 parent f4f30d7 commit d832ae5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/specialfunctions.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ end
1818
^(f::Fun{Jacobi},k::Integer) = intpow(f,k)
1919
^(f::Fun{Jacobi},k::Real) = Fun(f,Chebyshev)^k
2020

21-
log(f::Fun{<:PolynomialSpace{<:ChebyshevInterval}}) = invoke(log, Tuple{Fun}, f)
2221
function log(f::Fun{<:PolynomialSpace{<:IntervalOrSegment}})
22+
# log for ChebyshevInterval is Defined in ApproxFunSingularities
2323
g = log(setdomain(f, ChebyshevInterval()))
2424
setdomain(g, domain(f))
2525
end

test/MiscAFBTest.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -439,10 +439,10 @@ Base.:(==)(a::UniqueInterval, b::UniqueInterval) = (@assert a.parentinterval ==
439439
@testset "Special Functions" begin
440440
g = Fun(x ->x^2, 0.5..1)
441441
@testset for f in [
442-
sinpi, cospi, sin, cos, cosh, exp2, exp10, log2, log10, csc, sec,
442+
sinpi, cospi, sin, cos, cosh, exp2, exp10, csc, sec,
443443
cot, acot, sinh, csch, asinh, acsch,
444444
sech, tanh, coth,
445-
sinc, cosc, log1p, log, expm1, tan,
445+
sinc, cosc, expm1, tan,
446446
cbrt, sqrt, abs, abs2, sign, inv,
447447
angle]
448448

0 commit comments

Comments
 (0)