Skip to content

Commit c643f0d

Browse files
Use AbstractMatrix
1 parent 8c462dc commit c643f0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tensortrain.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ function tensortrain(tci)
9393
end
9494

9595
function _factorize(
96-
A::Matrix{V}, method::Symbol; tolerance::Float64, maxbonddim::Int
96+
A::AbstractMatrix{V}, method::Symbol; tolerance::Float64, maxbonddim::Int
9797
)::Tuple{Matrix{V},Matrix{V},Int} where {V}
9898
if method === :LU
9999
factorization = rrlu(A, abstol=tolerance, maxrank=maxbonddim)

0 commit comments

Comments
 (0)