-
Notifications
You must be signed in to change notification settings - Fork 34
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
Added vcat for ColVecs/RowVecs #291
Conversation
Can you also add some tests? |
Co-authored-by: David Widmann <[email protected]>
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.
LGTM. Just requires a patch version bump then we're good to go provided that @devmotion is happy.
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 think the tests could be improved a bit and actually check that we do the correct thing, e.g., by concatenating two different objects and checking that the concatenated values are correct (I also don't think that the check typeof(DX) == typeof(vcat(DX, DX))
is important - it's not the main purpose of the implementation and only a by-product if one actually concatenates two RowVecs
or ColVecs
whose underlying matrices have the same type). Otherwise, only the version bump seems to be missing 🙂
@devmotion I've modified the tests to what you suggested - nothing extensive, but given the simplicity of the PR I wasn't at my most creative. Let me know if you have other suggestions! |
Co-authored-by: David Widmann <[email protected]>
Thanks a lot for the PR 👍 |
Tentative fix for this issue in AbstractGPs.