Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ uuid = "1a297f60-69ca-5386-bcde-b61e274b549b"
version = "1.14.0"

[deps]
EltypeExtensions = "583f92f5-06d6-4306-8236-316410defc98"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
PDMats = "90014a1f-27ba-587c-ab20-58faa44d9150"
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
Expand All @@ -21,6 +22,7 @@ FillArraysStatisticsExt = "Statistics"
[compat]
Aqua = "0.8"
Documenter = "1"
EltypeExtensions = "0.0.4"
Infinities = "0.1"
LinearAlgebra = "1.6"
PDMats = "0.11.17"
Expand Down
1 change: 1 addition & 0 deletions src/FillArrays.jl
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import LinearAlgebra: rank, svdvals!, tril, triu, tril!, triu!, diag, transpose,


import Base.Broadcast: broadcasted, DefaultArrayStyle, broadcast_shape, BroadcastStyle, Broadcasted
import EltypeExtensions: elconvert

export Zeros, Ones, Fill, Eye, Trues, Falses, OneElement

Expand Down
5 changes: 0 additions & 5 deletions src/fillalgebra.jl
Original file line number Diff line number Diff line change
Expand Up @@ -480,11 +480,6 @@ end
a .+ getindex_value(b)
end

# following needed since as of Julia v1.8 convert(AbstractArray{T}, ::AbstractRange) might return a Vector
@inline elconvert(::Type{T}, A::AbstractRange) where T = T(first(A)):T(step(A)):T(last(A))
@inline elconvert(::Type{T}, A::AbstractUnitRange) where T<:Integer = AbstractUnitRange{T}(A)
@inline elconvert(::Type{T}, A::AbstractArray) where T = AbstractArray{T}(A)

####
# norm
####
Expand Down
Loading