-
-
Notifications
You must be signed in to change notification settings - Fork 365
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
Bugfix/issue 1179 exponential lower bound check #1469
Bugfix/issue 1179 exponential lower bound check #1469
Conversation
Refer to this link for build results (access rights to CI server needed): Build Log
Test FAILed. |
Jenkins, retest this please. |
Refer to this link for build results (access rights to CI server needed): Build Log
Test FAILed. |
The tests are fine. I need to find out why the interface occasionally On Wednesday, June 3, 2015, Stan buildbot notifications@github.com wrote:
|
@@ -69,6 +69,7 @@ namespace stan { | |||
|
|||
T_partials_return logp(0.0); | |||
check_not_nan(function, "Random variable", y); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove this check -- it's covered by check_nonnegative
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
removed check_not_nan
@rtrangucci, looks good. Thanks for adding that last test. |
Jenkins, retest this please. |
I don't trust that test failure. |
Refer to this link for build results (access rights to CI server needed): |
…lower-bound-check Fixes #1469. Bugfix/issue 1179 exponential lower bound check
Summary:
Added random variable bounds checking for exponential_log
Intended Effect:
No longer allow exponential_log to be evaluated at a negative value of the random variable
How to Verify:
./runTests.py src/test/prob/exponential/
Side Effects:
None.
Documentation:
None.
Reviewer Suggestions:
Daniel or Bob.