diff --git a/src/arnoldi.jl b/src/arnoldi.jl index c85396f..f811a84 100644 --- a/src/arnoldi.jl +++ b/src/arnoldi.jl @@ -34,7 +34,8 @@ mutable struct KrylovSubspace{T, U, B, VType <: AbstractMatrix{T}, H::HType # Gram-Schmidt coefficients (real for Hermitian matrices) end -function KrylovSubspace{T, U}(n::Integer, maxiter::Integer = 30, +function KrylovSubspace{T, U}(n::Integer, +maxiter::Integer = 30, augmented::Integer = false) where {T, U} V = Matrix{T}(undef, n + augmented, maxiter + 1) H = fill(zero(U), maxiter + 1, maxiter + !iszero(augmented))