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

Fixing crashing bug when using Twist3.R[x,y,z] #44

Merged
merged 1 commit into from
Jan 31, 2022

Conversation

suddrey-qut
Copy link
Contributor

Calling Twist3.Rx(0.5) results in a TypeError: 'float' object is not iterable error. The same error is experienced for Twist.Ry and Twist.Rz as well.

This change converts the output of base.getunit to a vector if a scalar value is provided for theta.

Calling Twist3.Rx(0.5) results in a TypeError: 'float' object is not iterable error. The same error is experienced for Twist.Ry and Twist.Rz as well.

This change converts the output of base.getunit to a vector if a scalar value is provided for theta.
@petercorke petercorke merged commit b02286e into bdaiinstitute:future Jan 31, 2022
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