@@ -119,11 +119,13 @@ function initialize_output(::typeof(svd_compact!), t::AbstractTensorMap,
119119 return U, S, Vᴴ
120120end
121121
122- function initialize_output (:: typeof (svd_trunc!), t:: AbstractTensorMap , alg:: TruncatedAlgorithm )
122+ function initialize_output (:: typeof (svd_trunc!), t:: AbstractTensorMap ,
123+ alg:: TruncatedAlgorithm )
123124 return initialize_output (svd_compact!, t, alg. alg)
124125end
125126
126- function initialize_output (:: typeof (svd_vals!), t:: AbstractTensorMap , alg:: AbstractAlgorithm )
127+ function initialize_output (:: typeof (svd_vals!), t:: AbstractTensorMap ,
128+ alg:: AbstractAlgorithm )
127129 V_cod = infimum (fuse (codomain (t)), fuse (domain (t)))
128130 return DiagonalTensorMap {real(scalartype(t))} (undef, V_cod)
129131end
@@ -199,16 +201,18 @@ function initialize_output(::typeof(eig_full!), t::AbstractTensorMap, ::Abstract
199201 return D, V
200202end
201203
202- function initialize_output (:: typeof (eigh_vals!), t:: AbstractTensorMap , alg:: AbstractAlgorithm )
204+ function initialize_output (:: typeof (eigh_vals!), t:: AbstractTensorMap ,
205+ alg:: AbstractAlgorithm )
203206 V_D = fuse (domain (t))
204207 T = real (scalartype (t))
205- D = DiagonalTensorMap {Tc} (undef, V_D)
208+ return D = DiagonalTensorMap {Tc} (undef, V_D)
206209end
207210
208- function initialize_output (:: typeof (eig_vals!), t:: AbstractTensorMap , alg:: AbstractAlgorithm )
211+ function initialize_output (:: typeof (eig_vals!), t:: AbstractTensorMap ,
212+ alg:: AbstractAlgorithm )
209213 V_D = fuse (domain (t))
210214 Tc = complex (scalartype (t))
211- D = DiagonalTensorMap {Tc} (undef, V_D)
215+ return D = DiagonalTensorMap {Tc} (undef, V_D)
212216end
213217
214218function initialize_output (:: typeof (eigh_trunc!), t:: AbstractTensorMap ,
0 commit comments