Skip to content

Commit

Permalink
Clean up imports (#895)
Browse files Browse the repository at this point in the history
* Clean up imports

* Version bump to v0.13.21
  • Loading branch information
jishnub authored Jul 21, 2023
1 parent 0ef4992 commit 0e78219
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 22 deletions.
8 changes: 4 additions & 4 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,18 +1,16 @@
name = "ApproxFun"
uuid = "28f2ccd6-bb30-5033-b560-165f7b14dc2f"
version = "0.13.20"
version = "0.13.21"

[deps]
AbstractFFTs = "621f4979-c628-5d54-868e-fcf4e3e8185c"
ApproxFunBase = "fbd15aa5-315a-5a7d-a8a4-24992e37be05"
ApproxFunFourier = "59844689-9c9d-51bf-9583-5b794ec66d30"
ApproxFunOrthogonalPolynomials = "b70543e2-c0d9-56b8-a290-0d4d6d4de211"
ApproxFunSingularities = "f8fcb915-6b99-5be2-b79a-d6dbef8e6e7e"
BandedMatrices = "aae01518-5342-5314-be14-df237901396f"
Calculus = "49dc2e85-a5d0-5ad3-a950-438e2897f1b9"
DomainSets = "5b8099bc-c8ec-5219-889f-1d9e522a28bf"
DualNumbers = "fa6b7ba4-c1ee-5f82-b5fc-ecf0adba8f74"
FFTW = "7a1cc6ca-52ef-59f5-83cd-3a7055c09341"
FastTransforms = "057dd010-8810-581a-b7be-e3fc3b93f78c"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
RecipesBase = "3cdcf5f2-1ef4-517c-9805-6587b60abb01"
Expand Down Expand Up @@ -51,11 +49,13 @@ julia = "1.6"
[extras]
ApproxFunBaseTest = "a931bfaf-0cfd-4a5c-b69c-bf2eed002b43"
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
BandedMatrices = "aae01518-5342-5314-be14-df237901396f"
BlockBandedMatrices = "ffab5731-97b5-5995-9138-79e8c1846df0"
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
DualNumbers = "fa6b7ba4-c1ee-5f82-b5fc-ecf0adba8f74"
FFTW = "7a1cc6ca-52ef-59f5-83cd-3a7055c09341"
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[targets]
test = ["ApproxFunBaseTest", "Aqua", "BlockBandedMatrices", "Documenter", "DualNumbers", "Random", "Test"]
test = ["ApproxFunBaseTest", "Aqua", "BandedMatrices", "BlockBandedMatrices", "Documenter", "DualNumbers", "FFTW", "Random", "Test"]
25 changes: 10 additions & 15 deletions src/ApproxFun.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
module ApproxFun
using Base, Reexport,
AbstractFFTs, FFTW, FastTransforms,
LinearAlgebra, RecipesBase, DomainSets, SpecialFunctions #, Arpack

using AbstractFFTs
using DomainSets
using FastTransforms
using LinearAlgebra
using RecipesBase
using Reexport
using SpecialFunctions

import Calculus

Expand Down Expand Up @@ -29,10 +34,7 @@ import ApproxFunOrthogonalPolynomials: order

using ApproxFunSingularities: LeftIntegral, LeftDerivative, RightDerivative, RightIntegral

import BandedMatrices: bandwidths

import AbstractFFTs: Plan, fft, ifft
import FFTW: plan_fft, plan_ifft, plan_ifft!
import AbstractFFTs: Plan, fft, ifft, plan_fft, plan_ifft, plan_ifft!

import Base: convert, getindex, *, +, -, /, ^, \, sum, cumsum,
first, last, isempty, zeros, promote_rule,
Expand All @@ -44,19 +46,12 @@ import Base: convert, getindex, *, +, -, /, ^, \, sum, cumsum,
asind, acosd, atand, asecd, acscd, acotd, sinh, cosh, tanh, sech, csch,
coth, asinh, acosh, atanh, asech, acsch, acoth, deg2rad, rad2deg

import LinearAlgebra: eigvals, dot, adjoint
import LinearAlgebra: adjoint

import SpecialFunctions: erf, erfinv, erfc, erfcinv, erfi, gamma, lgamma, digamma, invdigamma,
trigamma, airyai, airybi, airyaiprime, airybiprime, besselj0, besselj1,
bessely0, bessely1, erfcx, dawson

# import Arpack: eigs


import FastTransforms: ChebyshevTransformPlan, plan_chebyshevtransform,
plan_chebyshevtransform!, plan_ichebyshevtransform,
plan_ichebyshevtransform!

using StaticArrays: SVector

"""
Expand Down
5 changes: 2 additions & 3 deletions src/Extras/Extras.jl
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ include("fftGeneric.jl")
digits(n::Int) = set_bigfloat_precision(round(Int,ceil(n*log2(10))))
digits() = round(Int,floor(get_bigfloat_precision()*log10(2)))

import FastTransforms: pochhammer

include("poetry.jl")

include("simplify.jl")
Expand All @@ -24,6 +22,7 @@ function dualFun end
function dualcfsFun end

if !isdefined(Base, :get_extension)
include(joinpath(dirname(dirname(pathof(@__MODULE__))), "ext", "ApproxFunDualNumbersExt.jl"))
parentdir = dirname(dirname(pathof(@__MODULE__)))
include(joinpath(parentdir, "ext", "ApproxFunDualNumbersExt.jl"))
end
include("lanczos.jl")

2 comments on commit 0e78219

@jishnub
Copy link
Member Author

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/87980

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.13.21 -m "<description of version>" 0e782191950010cc3e6b5d6036fdd0c6b1e79aca
git push origin v0.13.21

Please sign in to comment.