Skip to content

Commit

Permalink
tests pass
Browse files Browse the repository at this point in the history
  • Loading branch information
dlfivefifty committed Aug 6, 2024
1 parent 2bdb376 commit 88af704
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "LazyBandedMatrices"
uuid = "d7e5e226-e90b-4449-9968-0f923699bf6f"
authors = ["Sheehan Olver <[email protected]>"]
version = "0.10.3"
version = "0.10.4"

[deps]
ArrayLayouts = "4c555306-a7a7-4459-81d9-ec55ddd5c99a"
Expand Down
2 changes: 1 addition & 1 deletion src/LazyBandedMatrices.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ using ArrayLayouts: symmetriclayout
using BandedMatrices, BlockBandedMatrices, BlockArrays, LazyArrays,
ArrayLayouts, MatrixFactorizations, Base, StaticArrays, LinearAlgebra

import Base: -, +, *, /, \, ==, AbstractMatrix, Matrix, Array, size, conj, real, imag, copy,
import Base: -, +, *, /, \, ==, AbstractMatrix, Matrix, Array, size, conj, real, imag, copy, copymutable,
iszero, isone, one, zero, getindex, setindex!, copyto!, fill, fill!, promote_rule, show, print_matrix, permutedims,
OneTo, oneto, require_one_based_indexing, similar, convert, axes, tail, tuple_type_tail, view, resize!
import Base.Broadcast: Broadcasted, BroadcastStyle, broadcasted, instantiate
Expand Down
2 changes: 1 addition & 1 deletion src/bidiag.jl
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ Matrix(A::Bidiagonal{T}) where {T} = Matrix{T}(A)
Array(A::Bidiagonal) = Matrix(A)
promote_rule(::Type{Matrix{T}}, ::Type{<:Bidiagonal{S}}) where {T,S} =
@isdefined(T) && @isdefined(S) ? Matrix{promote_type(T,S)} : Matrix
promote_rule(::Type{Matrix}, ::Type{<:Bidiagonal}) = Matrix
promote_rule(::Type{<:Matrix}, ::Type{<:Bidiagonal}) = Matrix

Check warning on line 163 in src/bidiag.jl

View check run for this annotation

Codecov / codecov/patch

src/bidiag.jl#L163

Added line #L163 was not covered by tests

# Converting to LinearAlgebra
convert(::Type{LinearAlgebra.Bidiagonal}, B::Bidiagonal) = LinearAlgebra.Bidiagonal(B.dv, B.ev, B.uplo)
Expand Down
2 changes: 1 addition & 1 deletion src/tridiag.jl
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ similar(S::SymTridiagonal, ::Type{T}) where {T} = SymTridiagonal(similar(S.dv, T
# similar(S::SymTridiagonal, ::Type{T}, dims::Union{Dims{1},Dims{2}}) where {T} = spzeros(T, dims...)

#Elementary operations
for func in (:conj, :copy, :real, :imag)
for func in (:conj, :copy, :real, :imag, :copymutable)
@eval ($func)(M::SymTridiagonal) = SymTridiagonal(($func)(M.dv), ($func)(M.ev))
end

Expand Down

0 comments on commit 88af704

Please sign in to comment.