Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compute_fixed_point warning #150

Closed
oyamad opened this issue Nov 14, 2016 · 1 comment
Closed

compute_fixed_point warning #150

oyamad opened this issue Nov 14, 2016 · 1 comment
Labels

Comments

@oyamad
Copy link
Member

oyamad commented Nov 14, 2016

Should not print a warning when converged with exactly max_iter iterations (ref #144):

julia> f(x) = 0.5 * x
f (generic function with 1 method)

julia> compute_fixed_point(f, 1.0, verbose=2, max_iter=14)
Compute iterate 10 with error 0.0009765625
WARNING: max_iter attained in compute_fixed_point
6.103515625e-5

julia> compute_fixed_point(f, 1.0, verbose=2, max_iter=15)
Compute iterate 10 with error 0.0009765625
Converged in 14 steps
6.103515625e-5

See also the Python version QuantEcon/QuantEcon.py#273 (comment).

@a-parida12
Copy link
Contributor

I am working on it

sglyon pushed a commit that referenced this issue Dec 12, 2017
* Remove warning message when converged with max_iter

Fixes #150

* Remove warning message when converged with max_iter improved version

Fixes #150
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants