Skip to content
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

Fix implementation of Quaternion.vec_xyzs #30

Merged
merged 1 commit into from
Nov 2, 2021

Conversation

btalb
Copy link
Contributor

@btalb btalb commented Oct 18, 2021

The vec and vec_xyzs fields of the Quaternion class currently return the same 4-vector (s, x, y, z).

This pull request updates vec_xyzs to return (x, y, z, s).

@btalb btalb changed the title Use np.roll() for Quaternion.vec_xyzs Fix implementation of Quaternion.vec_xyzs Oct 18, 2021
@petercorke petercorke merged commit 1d21d52 into bdaiinstitute:master Nov 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants