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 integer division for duration #59

Merged
merged 2 commits into from
Apr 21, 2016
Merged

Conversation

dirk-thomas
Copy link
Member

@dirk-thomas dirk-thomas commented Apr 19, 2016

@ros/ros_team @eric-wieser Please review.

@eric-wieser
Copy link
Contributor

Looks good to me. Note that the comment unlike __floordiv__, this uses true div for float arg. is now not helpful, as __div__ is now identical to __truediv__

@eric-wieser
Copy link
Contributor

In fact, using that reasoning I'd argue that __div__ should be removed entirely and replaced with __div__ = __truediv__

@dirk-thomas
Copy link
Member Author

Good point. I have removed the obsolete comment.

I will keep the deduplication for later to keep this minimal.

@dirk-thomas
Copy link
Member Author

@ros-pull-request-builder retest this please

@dirk-thomas dirk-thomas merged commit 5923bd3 into kinetic-devel Apr 21, 2016
@dirk-thomas dirk-thomas deleted the fix_integer_division branch April 21, 2016 15:51
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