Skip to content

Commit 31ebbe2

Browse files
authored
use ApproxFunBase.mean instead of Statistics (#281)
1 parent 3e4075c commit 31ebbe2

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Project.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ Reexport = "189a3867-3050-52da-a836-e630ba90ab69"
1919
SpecialFunctions = "276daf66-3868-5448-9aa4-cd146d93841b"
2020
Static = "aedffcd0-7271-4cad-89d0-dc628f76c6d3"
2121
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
22-
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
2322

2423
[weakdeps]
2524
Static = "aedffcd0-7271-4cad-89d0-dc628f76c6d3"

src/ApproxFunOrthogonalPolynomials.jl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
module ApproxFunOrthogonalPolynomials
22
using Base, LinearAlgebra, Reexport, BandedMatrices, BlockBandedMatrices,
33
BlockArrays, FillArrays, FastTransforms, IntervalSets,
4-
DomainSets, Statistics, SpecialFunctions, FastGaussQuadrature
4+
DomainSets, SpecialFunctions, FastGaussQuadrature
55

66
@reexport using ApproxFunBase
77

@@ -44,7 +44,8 @@ import ApproxFunBase: Fun, SubSpace, WeightSpace, NoSpace, HeavisideSpace,
4444
assert_integer, supportsinplacetransform, ContinuousSpace, SpecialEvalPtType,
4545
isleftendpoint, isrightendpoint, evaluation_point, boundaryfn, ldiffbc, rdiffbc,
4646
LeftEndPoint, RightEndPoint, normalizedspace, promotedomainspace,
47-
bandmatrices_eigen, SymmetricEigensystem, SkewSymmetricEigensystem
47+
bandmatrices_eigen, SymmetricEigensystem, SkewSymmetricEigensystem,
48+
mean # differs from Statistics.mean after https://github.com/JuliaApproximation/ApproxFunBase.jl/pull/506
4849

4950
import DomainSets: Domain, indomain, UnionDomain, FullSpace, Point,
5051
Interval, ChebyshevInterval, boundary, rightendpoint, leftendpoint,

src/Spaces/IntervalSpace.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Space(d::IntervalOrSegment) = Chebyshev(d)
22
Space(d::FullSpace{<:Real}) = Chebyshev(Line())
33

4-
# TODO: mode these functions to ApproxFunBase
4+
# TODO: move these functions to ApproxFunBase
55
function Fun(::typeof(identity), d::IntervalOrSegment{<:Number})
66
Fun(Space(d), [mean(d), complexlength(d)/2])
77
end

0 commit comments

Comments
 (0)