-
-
Notifications
You must be signed in to change notification settings - Fork 183
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-stan-2433: change step to match int_step #805
bugfix/issue-stan-2433: change step to match int_step #805
Conversation
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.
The code and doc look great. Thanks.
We need to check with @syclik to make sure this change is OK with him. I'll ping him and you via email on this.
I think I led @roualdes astray with the poorly formulated issue 2433 in stan-dev/math. We are very sloppy in using issues and sometimes just use them to track things that need to be fixed in some way without properly deciding how they should be fixed. The current situation is bad---we have a Here's the BUGS manual. You'll see that they define step(e) as In retrospect, I think we should just deprecate |
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.
I don't think this should be merged. The code's fine, though.
See my comment in the conversation. So I'll mark this request changes.
@bob-carpenter, thanks for looking into it. |
@bob-carpenter, can you update the issue with what you're thinking about? stan-dev/stan#2433 And then we can close this PR. |
Sorry, @roualdes but I'm going to close this and rewrite issue stan-dev/stan#2433 |
:-) I did it before reading this request to do it.
|
Submission Checklist
./runTests.py test/unit
make cpplint
Summary:
Change
stan::math::step
to matchstan::math::int_step
as requested in stan-dev/stan issue 2433.Intended Effect:
Consistency between step functions.
How to Verify:
./runTests.py -j3 test/unit/math/prim/scal/
and
./runTests.py -j3 test/unit/math/rev/scal/
I ran the above commands without error.
Side Effects:
Change is step function behavior.
Documentation:
Made a note about this change just above step function definition.
Copyright and Licensing
Please list the copyright holder for the work you are submitting (this will be you or your assignee, such as a university or company): California State University, Chico
By submitting this pull request, the copyright holder is agreeing to license the submitted work under the following licenses: