Skip to content

Commit

Permalink
Remove warning message when converged with max_iter (#195)
Browse files Browse the repository at this point in the history
* Remove warning message when converged with max_iter

Fixes #150

* Remove warning message when converged with max_iter improved version

Fixes #150
  • Loading branch information
a-parida12 authored and sglyon committed Dec 12, 2017
1 parent bc5fe7a commit 11069d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compute_fp.jl
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ function compute_fixed_point(T::Function,
end

if verbose >= 1
if iterate == max_iter
if err > err_tol
warn("max_iter attained in compute_fixed_point")
elseif verbose == 2
println("Converged in $iterate steps")
Expand Down

0 comments on commit 11069d3

Please sign in to comment.