From a37073c8c9731bd997cb2555af58095d0baa5c9a Mon Sep 17 00:00:00 2001 From: Jishnu Bhattacharya Date: Tue, 31 Oct 2023 17:18:31 +0530 Subject: [PATCH] Import deps transitively in extension (#923) * Import deps transitively in extension * Add comment --- Project.toml | 3 ++- ext/ApproxFunDualNumbersExt.jl | 10 ++++++---- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/Project.toml b/Project.toml index 803521591..c5dab57de 100644 --- a/Project.toml +++ b/Project.toml @@ -1,6 +1,6 @@ name = "ApproxFun" uuid = "28f2ccd6-bb30-5033-b560-165f7b14dc2f" -version = "0.13.24" +version = "0.13.25" [deps] AbstractFFTs = "621f4979-c628-5d54-868e-fcf4e3e8185c" @@ -41,6 +41,7 @@ DualNumbers = "0.6.2" FFTW = "1" FastTransforms = "0.13, 0.14, 0.15" IntervalSets = "0.7.5" +LinearAlgebra = "1.6" RecipesBase = "1.0" Reexport = "1.0" SpecialFunctions = "1.1, 2" diff --git a/ext/ApproxFunDualNumbersExt.jl b/ext/ApproxFunDualNumbersExt.jl index 1a59853b2..45f0f88e5 100644 --- a/ext/ApproxFunDualNumbersExt.jl +++ b/ext/ApproxFunDualNumbersExt.jl @@ -2,10 +2,12 @@ module ApproxFunDualNumbersExt using DualNumbers using ApproxFun -using ApproxFun: TransformPlan, ITransformPlan -import ApproxFunBase: valsdomain_type_promote -using DomainSets -import FastTransforms: ChebyshevTransformPlan, IChebyshevTransformPlan, +# Specifying the full namespace is necessary because of https://github.com/JuliaLang/julia/issues/48533 +# See https://github.com/JuliaStats/LogExpFunctions.jl/pull/63 +using ApproxFun.ApproxFunBase: TransformPlan, ITransformPlan +import ApproxFun.ApproxFunBase: valsdomain_type_promote +using ApproxFun.DomainSets +import ApproxFun.FastTransforms: ChebyshevTransformPlan, IChebyshevTransformPlan, plan_chebyshevtransform, plan_chebyshevtransform!, plan_ichebyshevtransform, plan_ichebyshevtransform!