-
-
Notifications
You must be signed in to change notification settings - Fork 187
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
Reorganize files after flatten #1678
Conversation
Thanks @mcol for taking this on. I will have a look soon. |
Jenkins Console Log Machine informationProductName: Mac OS X ProductVersion: 10.11.6 BuildVersion: 15G22010CPU: G++: Clang: |
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.
Thanks @mcol! This looks great. This moves us much further towards the goal of our /meta folder actually contain only template metaprograms.
I do have to give a heads up to @bob-carpenter
Upon merging with the latest develop please note that size()
is no longer in /meta and you will need to add #include <stan/math/prim/fun/size.hpp>
wherever you need it.
Summary
This performs the following moves:
get
,size
,size_mvt
,max_size
,max_size_mvt
from prim/meta to prim/fun.common_type
from prim/fun to prim/metaTests
No new tests. The tests files for the above functions have been moved too. There were two
size_test
files, and they have been merged. Fixes #1513.Side Effects
People will have to learn to include
stan/math/prim/fun/size.hpp
and similar, rather than relying on themeta.hpp
include.Checklist
Math issue Reorganize files after flattening #1513
Copyright holder: Marco Colombo
The copyright holder is typically you or your assignee, such as a university or company. By submitting this pull request, the copyright holder is agreeing to the license the submitted work under the following licenses:
- Code: BSD 3-clause (https://opensource.org/licenses/BSD-3-Clause)
- Documentation: CC-BY 4.0 (https://creativecommons.org/licenses/by/4.0/)
the basic tests are passing
./runTests.py test/unit
)make test-headers
)make test-math-dependencies
)make doxygen
)make cpplint
)the code is written in idiomatic C++ and changes are documented in the doxygen
the new changes are tested