Open Jutho opened 5 hours ago
Solution: e.g. float(::TensorMap)
and use that instead of copy
in the lowering from tsvd
to tsvd!
.
LinearAlgebra
uses eigencopy_oftype(A, T)
(also for the SVD) to catch these cases. It might be reasonable to also use that here, or at least something similar?