Skip to content

Commit

Permalink
legacy code
Browse files Browse the repository at this point in the history
  • Loading branch information
dkarrasch committed Jul 15, 2023
1 parent dd845ee commit b5f2b0f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 0 additions & 3 deletions stdlib/LinearAlgebra/src/adjtrans.jl
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,6 @@ adj_or_trans(::T) where {T<:AbstractArray} = adj_or_trans(T)
adj_or_trans(::Type{<:AbstractArray}) = identity
adj_or_trans(::Type{<:Adjoint}) = adjoint
adj_or_trans(::Type{<:Transpose}) = transpose
# more legacy stuff to be removed
_multrimat!(C, A, B) = _trimul!(C, A, B)
_mulmattri!(C, A, B) = _trimul!(C, A, B)

"""
inplace_adj_or_trans(::AbstractArray) -> adjoint!|transpose!|copyto!
Expand Down
6 changes: 6 additions & 0 deletions stdlib/LinearAlgebra/src/triangular.jl
Original file line number Diff line number Diff line change
Expand Up @@ -679,6 +679,12 @@ fillstored!(A::UnitUpperTriangular, x) = (fillband!(A.data, x, 1, size(A,2)-1);
# BlasFloat routines #
######################

# legacy stuff, to be removed
_multrimat!(C, A, B) = _trimul!(C, A, B)
_mulmattri!(C, A, B) = _trimul!(C, A, B)
_uconvert_copyto!(c, b, oA) = (c .= Ref(oA) .\ b)
_uconvert_copyto!(c::AbstractArray{T}, b::AbstractArray{T}, _) where {T} = copyto!(c, b)

# which triangle to use of the underlying data
uplo_char(::UpperOrUnitUpperTriangular) = 'U'
uplo_char(::LowerOrUnitLowerTriangular) = 'L'
Expand Down

0 comments on commit b5f2b0f

Please sign in to comment.