Skip to content

Comments

Better error message for NaN occurred in optimization#2990

Merged
junpenglao merged 2 commits intopymc-devs:masterfrom
junpenglao:Better_errormsg
May 29, 2018
Merged

Better error message for NaN occurred in optimization#2990
junpenglao merged 2 commits intopymc-devs:masterfrom
junpenglao:Better_errormsg

Conversation

@junpenglao
Copy link
Member

Similar to #2977, this PR prints out where NaN occurred with potential strategy of how to debug it.

Similar to #2977, this PR prints out where NaN occurred with potential strategy of how to debug it.
Copy link
Contributor

@springcoil springcoil left a comment

Choose a reason for hiding this comment

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

Lgtm

@springcoil
Copy link
Contributor

Awesome improvement

@junpenglao junpenglao merged commit 7f1d433 into pymc-devs:master May 29, 2018
@junpenglao junpenglao deleted the Better_errormsg branch May 29, 2018 16:08
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.

2 participants