Skip to content

Commit

Permalink
rename extension module
Browse files Browse the repository at this point in the history
  • Loading branch information
jishnub committed Dec 20, 2023
1 parent 204c686 commit de2af9c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Adapt = "79e6a3ab-5dfb-504d-930d-738a2a938a0e"
Adapt = "79e6a3ab-5dfb-504d-930d-738a2a938a0e"

[extensions]
AdaptExt = "Adapt"
OffsetArraysAdaptExt = "Adapt"

[compat]
Adapt = "2, 3, 4"
Expand Down Expand Up @@ -39,4 +39,4 @@ StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[targets]
test = ["Aqua", "CatIndices", "DistributedArrays", "DelimitedFiles", "Documenter", "Test", "LinearAlgebra", "EllipsisNotation", "StaticArrays", "FillArrays", "Adapt"]
test = ["Adapt", "Aqua", "CatIndices", "DistributedArrays", "DelimitedFiles", "Documenter", "EllipsisNotation", "FillArrays", "LinearAlgebra", "StaticArrays", "Test"]
2 changes: 1 addition & 1 deletion ext/AdaptExt.jl → ext/OffsetArraysAdaptExt.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module AdaptExt
module OffsetArraysAdaptExt

using OffsetArrays, Adapt

Expand Down
2 changes: 1 addition & 1 deletion src/OffsetArrays.jl
Original file line number Diff line number Diff line change
Expand Up @@ -853,7 +853,7 @@ if VERSION <= v"1.7.0-DEV.400"
end

if !isdefined(Base, :get_extension)
include("../ext/AdaptExt.jl")
include("../ext/OffsetArraysAdaptExt.jl")
end

if Base.VERSION >= v"1.4.2"
Expand Down

0 comments on commit de2af9c

Please sign in to comment.