diff --git a/src/bicgstab.jl b/src/bicgstab.jl index ba423a292..828b987dd 100644 --- a/src/bicgstab.jl +++ b/src/bicgstab.jl @@ -154,9 +154,9 @@ kwargs_bicgstab = (:c, :M, :N, :ldiv, :atol, :rtol, :itmax, :timemax, :verbose, r₀ .= b end - @kfill!(x, zero(FC) # x₀ - @kfill!(s, zero(FC) # s₀ - @kfill!(v, zero(FC) # v₀ + @kfill!(x, zero(FC)) # x₀ + @kfill!(s, zero(FC)) # s₀ + @kfill!(v, zero(FC)) # v₀ MisI || mulorldiv!(r, M, r₀, ldiv) # r₀ p .= r # p₁ diff --git a/src/block_krylov_solvers.jl b/src/block_krylov_solvers.jl index 1928b9666..4d00c21dd 100644 --- a/src/block_krylov_solvers.jl +++ b/src/block_krylov_solvers.jl @@ -91,7 +91,7 @@ for (KS, fun, nsol, nA, nAt, warm_start) in [ SM = typeof(solver.X) (n == n2 && p == p2) || error("X0 should have size ($n, $p)") allocate_if(true, solver, :ΔX, SM, n, p) - @kcopyto!(solver.ΔX, X0) + copyto!(solver.ΔX, X0) solver.warm_start = true return solver end