-
-
Notifications
You must be signed in to change notification settings - Fork 190
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
Add check_matching_dims for std::vector<eigen<var>> #2220
Conversation
…4.1 (tags/RELEASE_600/final)
…4.1 (tags/RELEASE_600/final)
add is_rev_matrix tests
…4.1 (tags/RELEASE_600/final)
The original bug in the is_rev_matrix template metaprogram was fixed in one of the varmat PRs. This PR now just fixes an ambiguity for the all-scalar case and adds tests so we dont reintroduce the original bug again. |
The tests now pass so this is ready for review. Also checked that the problematic model @wds15 posted in the original issue compiles. |
Jenkins Console Log Machine informationProductName: Mac OS X ProductVersion: 10.11.6 BuildVersion: 15G22010CPU: G++: Clang: |
Summary
Fixes #2207
Mainly fixes this case:
Tests
Added test for the case that caused the issue and a few others.
Side Effects
/
Release notes
Fixed a bug in check_matching_dims that prevented checking vectors of Eigen matrices of vars.
Checklist
Math issue #(issue number)
Copyright holder: (fill in copyright holder information)
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