Skip to content

Commit 68437b9

Browse files
committed
Fix factorisation scalartype
1 parent 7eab5c1 commit 68437b9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/tensors/matrixalgebrakit.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ end
44

55
function factorisation_scalartype(::typeof(MAK.eig_full!), t::AbstractTensorMap)
66
T = complex(scalartype(t))
7-
return promote_type(ComplexF32, typeof(zero(T) / sqrt(abs2(one(T)))))
7+
return promote_type(Float32, typeof(zero(T) / sqrt(abs2(one(T)))))
88
end
99

1010
function MAK.check_input(::typeof(MAK.eig_full!), t::AbstractTensorMap, (D, V))

0 commit comments

Comments
 (0)