Skip to content

Commit 48a05c8

Browse files
authored
Don't forward real (#867)
* remove real definition * don't specialize real for DualNumber * don't import real
1 parent 7104e53 commit 48a05c8

File tree

5 files changed

+3
-8
lines changed

5 files changed

+3
-8
lines changed

Project.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "ApproxFun"
22
uuid = "28f2ccd6-bb30-5033-b560-165f7b14dc2f"
3-
version = "0.13.15"
3+
version = "0.13.16"
44

55
[deps]
66
AbstractFFTs = "621f4979-c628-5d54-868e-fcf4e3e8185c"
@@ -22,7 +22,7 @@ StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
2222

2323
[compat]
2424
AbstractFFTs = "1.0"
25-
ApproxFunBase = "0.7.34, 0.8"
25+
ApproxFunBase = "0.8.4"
2626
ApproxFunBaseTest = "0.1"
2727
ApproxFunFourier = "0.3"
2828
ApproxFunOrthogonalPolynomials = "0.5, 0.6"

src/ApproxFun.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ import AbstractFFTs: Plan, fft, ifft
3434
import FFTW: plan_fft, plan_ifft, plan_ifft!
3535

3636
import Base: convert, getindex, *, +, -, /, ^, \, sum, cumsum,
37-
first, last, isempty, zeros, promote_rule, real,
37+
first, last, isempty, zeros, promote_rule,
3838
# the following functions names are listed in Calculus.symbolic_derivatives_1arg(),
3939
# and methods are added to them here
4040
sqrt, cbrt, abs2, inv, log, log10, log2, log1p,

src/Extras/Extras.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ import FastTransforms: pochhammer
1515

1616
include("poetry.jl")
1717

18-
include("ReImSpace.jl")
1918
include("simplify.jl")
2019

2120
include("eigs.jl")

src/Extras/ReImSpace.jl

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/Extras/dualnumbers.jl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
# We need to implement some functionality for the ApproxFun constructor to work
2-
real(::Type{Dual{T}}) where {T} = Dual{ApproxFun.real(T)}
3-
41
# Dual number support. Should there be realpart and dualpart of Space and Domain?
52
DualNumbers.realpart(f::Fun{S,T}) where {S,T<:Dual} = Fun(space(f),realpart.(coefficients(f)))
63
DualNumbers.dualpart(f::Fun{S,T}) where {S,T<:Dual} = Fun(space(f),dualpart.(coefficients(f)))

0 commit comments

Comments
 (0)