Skip to content

Commit 00435df

Browse files
committed
Use eig_full in eig
1 parent a827476 commit 00435df

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/tensors/factorizations.jl

+1-4
Original file line numberDiff line numberDiff line change
@@ -222,10 +222,7 @@ matrices. See the corresponding documentation for more information.
222222
223223
See also `eigen` and `eigh`.
224224
"""
225-
function eig(t::AbstractTensorMap, p::Index2Tuple; kwargs...)
226-
tcopy = permutedcopy_oftype(t, factorisation_scalartype(eig, t), p)
227-
return eig!(tcopy; kwargs...)
228-
end
225+
eig(t::AbstractTensorMap, p::Index2Tuple; kwargs...) = MAK.eig_full(t; kwargs...)
229226

230227
"""
231228
eigh(t::AbstractTensorMap, (leftind, rightind)::Index2Tuple) -> D, V

0 commit comments

Comments
 (0)