diff --git a/.github/workflows/Documenter.yml b/.github/workflows/Documenter.yml index 74d29f1..1ecbb7c 100644 --- a/.github/workflows/Documenter.yml +++ b/.github/workflows/Documenter.yml @@ -31,7 +31,6 @@ jobs: shell: julia --project=docs --color=yes {0} run: | using Pkg - Pkg.develop(PackageSpec(path=pwd())) Pkg.instantiate() - uses: julia-actions/julia-buildpkg@v1 - run: julia --project=docs docs/make.jl diff --git a/docs/Project.toml b/docs/Project.toml index 4ca9eda..078bad1 100644 --- a/docs/Project.toml +++ b/docs/Project.toml @@ -2,5 +2,8 @@ AbstractFFTs = "621f4979-c628-5d54-868e-fcf4e3e8185c" Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4" +[sources] +AbstractFFTs = { path = ".." } + [compat] -Documenter = "~0.25" +Documenter = "^1" diff --git a/src/definitions.jl b/src/definitions.jl index f4f1c19..eb9622a 100644 --- a/src/definitions.jl +++ b/src/definitions.jl @@ -649,6 +649,9 @@ struct AdjointPlan{T,P<:Plan} <: Plan{T} AdjointPlan{T,P}(p) where {T,P} = new(p) end +# We eagerly form the plan inverse in the adjoint(p) call, which will be cached for subsequent calls. +# This is reasonable, as inv(p) would do the same, and necessary in order to compute the correct input +# type for the adjoint plan and encode it in its type. """ (p::Plan)' adjoint(p::Plan) @@ -659,9 +662,6 @@ Return a plan that performs the adjoint operation of the original plan. Adjoint plans do not currently support `LinearAlgebra.mul!`. Further, as a new addition to `AbstractFFTs`, coverage of `Base.adjoint` in downstream implementations may be limited. """ -# We eagerly form the plan inverse in the adjoint(p) call, which will be cached for subsequent calls. -# This is reasonable, as inv(p) would do the same, and necessary in order to compute the correct input -# type for the adjoint plan and encode it in its type. Base.adjoint(p::Plan{T}) where {T} = AdjointPlan{eltype(inv(p)), typeof(p)}(p) Base.adjoint(p::AdjointPlan) = p.p # always have AdjointPlan inside ScaledPlan.