Skip to content

Commit 96218f0

Browse files
committed
✨ Simplify integer types
1 parent c7769a1 commit 96218f0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/spectrum.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ A solver which solves [`spectrum`](@ref) by using a non-symmetric Lanczos varian
3333
The nonsymmetric Lanczos algorithm is adapted from Algorithm 6.6 in [Saad2011](https://www-users.cse.umn.edu/~saad/eig_book_2ndEd.pdf).
3434
The running estimate is updated via a [Wallis-Euler recursion](https://en.wikipedia.org/wiki/Continued_fraction).
3535
"""
36-
Base.@kwdef struct Lanczos{T<:Real,IT<:Int,SS<:Union{Nothing,<:SteadyStateSolver}} <: SpectrumSolver
36+
Base.@kwdef struct Lanczos{T<:Real,SS<:Union{Nothing,<:SteadyStateSolver}} <: SpectrumSolver
3737
tol::T = 1e-8
38-
maxiter::IT = 5000
39-
verbose::IT = 0
38+
maxiter::Int = 5000
39+
verbose::Int = 0
4040
steadystate_solver::SS = nothing
4141
end
4242

@@ -223,7 +223,7 @@ function _spectrum(
223223
w₊₁ = vT(zeros(cT, D^2))
224224

225225
# Frequency of renormalization
226-
renormFrequency::typeof(solver.maxiter) = 1
226+
renormFrequency = 1
227227

228228
# Loop over the Krylov subspace(s)
229229
for k in 1:solver.maxiter

0 commit comments

Comments
 (0)