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

Replace non-portable M_PI with constants::pi() #450

Conversation

SeanCurtis-TRI
Copy link
Contributor

@SeanCurtis-TRI SeanCurtis-TRI commented Feb 24, 2020

Apparently an M_PI snuck in after #264. This reversed it back out.

resolves #448


This change is Reviewable

@SeanCurtis-TRI
Copy link
Contributor Author

@traversaro can you confirm this works for you?

Copy link
Contributor Author

@SeanCurtis-TRI SeanCurtis-TRI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+@sherm1 for both reviews.

Reviewable status: 0 of 2 files reviewed, all discussions resolved (waiting on @sherm1)

Copy link
Member

@sherm1 sherm1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! :lgtm: x 2 assuming constants::pi() works

Reviewed 2 of 2 files at r1.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

@SeanCurtis-TRI SeanCurtis-TRI merged commit 5f8167a into flexible-collision-library:master Feb 24, 2020
@SeanCurtis-TRI SeanCurtis-TRI deleted the PR_remove_non_portable_M_PI branch February 24, 2020 17:47
@traversaro
Copy link
Contributor

@traversaro can you confirm this works for you?

This indeed fixes the problem for me, thanks!

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.

Test test_gjk_libccd-inl_epa.cpp does not compile on Windows due to non-portable M_PI
3 participants