-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #22 from putianyi889/version-0.2.8
remove PTYQoLCircularArraysExt
- Loading branch information
Showing
6 changed files
with
14 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,6 +29,4 @@ end | |
end | ||
end | ||
|
||
convert(::Type{AbstractArray{T}}, M::BandedMatrix{T}) where T = M | ||
|
||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,3 @@ | ||
module PTYQoLCircularArraysExt | ||
|
||
import CircularArrays: CircularArray | ||
""" | ||
CircularMatrix{T,A} <: AbstractVector{T} | ||
Two-dimensional array backed by an `AbstractArray{T, 2}` of type `A` with fixed size and circular indexing. | ||
Alias for [`CircularArray{T,2,A}`](@ref). | ||
""" | ||
const CircularMatrix{T} = CircularArray{T, 2} | ||
|
||
# ambiguities | ||
import Base: similar | ||
import CircularArrays: CircularArray, _similar | ||
|
||
# https://github.com/Vexatos/CircularArrays.jl/pull/31 | ||
@inline similar(arr::CircularArray, ::Type{T}, dims::Tuple{Integer, Vararg{Integer}}) where T = _similar(arr, T, dims) | ||
|
||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters