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

Update root_finding.py #560

Merged
merged 1 commit into from
Dec 22, 2020
Merged

Update root_finding.py #560

merged 1 commit into from
Dec 22, 2020

Conversation

alanlujan91
Copy link
Contributor

when x0 >= 0, q0 is not initially assigned, but since this function is jitted, I believe q0 = 0.0 when referenced before assignment

to notice the error, remove @njit decorator and set x0 >= 0

when x0 >= 0, q0 is not initially assigned, but since this function is jitted, I believe q0 = 0.0 when referenced before assignment

to notice the error, remove @njit decorator and set x0 >= 0
@coveralls
Copy link

Coverage Status

Coverage remained the same at 94.074% when pulling 992f41d on alanlujan91:patch-1 into 805650a on QuantEcon:master.

@mmcky mmcky requested a review from jstac December 18, 2020 02:15
@mmcky
Copy link
Contributor

mmcky commented Dec 18, 2020

thanks @alanlujan91 for the PR. @jstac would you have any time to take a quick look at this?

Copy link
Member

@sglyon sglyon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@mmcky
Copy link
Contributor

mmcky commented Dec 22, 2020

thanks @sglyon

@mmcky mmcky merged commit 08a15f5 into QuantEcon:master Dec 22, 2020
@alanlujan91 alanlujan91 deleted the patch-1 branch December 22, 2020 19:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants