From 189abac4527b841803b90ea9ac3aee8af926b97f Mon Sep 17 00:00:00 2001 From: Joseph Tindall Date: Thu, 19 Oct 2023 17:21:24 -0400 Subject: [PATCH] Dropped type constraint in svd --- src/tensor_operations/matrix_decomposition.jl | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/tensor_operations/matrix_decomposition.jl b/src/tensor_operations/matrix_decomposition.jl index 0b2b496d55..3042d0e1a8 100644 --- a/src/tensor_operations/matrix_decomposition.jl +++ b/src/tensor_operations/matrix_decomposition.jl @@ -106,13 +106,7 @@ Utrunc2, Strunc2, Vtrunc2 = svd(A, i, k; cutoff=1e-10); See also: [`factorize`](@ref), [`eigen`](@ref) """ -function svd( - A::ITensor, - Linds...; - leftdir::Union{Nothing,ITensors.Arrow}=nothing, - rightdir::Union{Nothing,ITensors.Arrow}=nothing, - kwargs..., -) +function svd(A::ITensor, Linds...; leftdir=nothing, rightdir=nothing, kwargs...) utags::TagSet = get(kwargs, :lefttags, get(kwargs, :utags, "Link,u")) vtags::TagSet = get(kwargs, :righttags, get(kwargs, :vtags, "Link,v"))