@@ -36,7 +36,7 @@ for f! in (:qr_compact!, :qr_full!,
3636 factors′ = $ f! (first (bs), factors, alg)
3737 # deal with the case where the output is not in-place
3838 for (f′, f) in zip (factors′, factors)
39- f′ === f || copyto ! (f, f′)
39+ f′ === f || copy ! (f, f′)
4040 end
4141 return nothing
4242 end
@@ -53,7 +53,7 @@ for f! in (:qr_null!, :lq_null!)
5353 foreachblock (t, N) do _, (b, n)
5454 n′ = $ f! (b, n, alg)
5555 # deal with the case where the output is not the same as the input
56- n === n′ || copyto ! (n, n′)
56+ n === n′ || copy ! (n, n′)
5757 return nothing
5858 end
5959
@@ -67,9 +67,9 @@ for f! in (:svd_vals!, :eig_vals!, :eigh_vals!)
6767 MAK. check_input ($ f!, t, N, alg)
6868
6969 foreachblock (t, N) do _, (b, n)
70- n′ = $ f! (b, n . diag , alg)
70+ n′ = $ f! (b, diagview (n) , alg)
7171 # deal with the case where the output is not the same as the input
72- n . diag === n′ || copyto! (n, diagview (n′) )
72+ diagview (n) === n′ || copy! ( diagview (n), n′ )
7373 return nothing
7474 end
7575
0 commit comments