Skip to content

Commit

Permalink
::Int consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
haampie committed Aug 11, 2017
1 parent 8c4d17f commit c9cf41b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stationary.jl
Expand Up @@ -142,7 +142,7 @@ Allocates a single temporary vector and traverses `A` columnwise.
Throws `Base.LinAlg.SingularException` when the diagonal has a zero. This check
is performed once beforehand.
"""
function sor!(x, A::AbstractMatrix, b, ω::Real; maxiter=10)
function sor!(x, A::AbstractMatrix, b, ω::Real; maxiter::Int=10)
check_diag(A)
iterable = DenseSORIterable(A, x, similar(x), b, ω, maxiter)
for _ = iterable end
Expand Down

0 comments on commit c9cf41b

Please sign in to comment.