Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
putianyi889 committed Mar 3, 2024
2 parents 741cb64 + f07cde6 commit 3736e31
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,23 @@ uuid = "583f92f5-06d6-4306-8236-316410defc98"
authors = ["Tianyi Pu <[email protected]> and contributors"]
version = "0.0.1"

[weakdeps]
QuasiArrays = "c4ea9172-b204-11e9-377d-29865faadc5c"

[extensions]
EltypeExtensionsQuasiArraysExt = "QuasiArrays"

[compat]
Aqua = "0.8"
Documenter = "0.27, 1"
QuasiArrays = "0.11"
Test = "1"
julia = "1"

[extras]
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
QuasiArrays = "c4ea9172-b204-11e9-377d-29865faadc5c"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[targets]
Expand Down
8 changes: 8 additions & 0 deletions ext/EltypeExtensionsQuasiArraysExt.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
module EltypeExtensionsQuasiArraysExt

import QuasiArrays: AbstractQuasiArray
import EltypeExtensions: elconvert

elconvert(::Type{T}, A::AbstractQuasiArray) where T = AbstractQuasiArray{T}(A)

end # module

0 comments on commit 3736e31

Please sign in to comment.