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

Literal defined as ccd_real_t #373

Conversation

SeanCurtis-TRI
Copy link
Contributor

@SeanCurtis-TRI SeanCurtis-TRI commented Feb 12, 2019

A literal in a type-deduced function call was declared as a double literal (e.g., 1.). When ccd_real_t is a double, this is fine. But when it is a float, the type cannot be successfully deduced.

We correct this by explicitly calling it out as a ccd_real_t-typed value.

resolves #372


This change is Reviewable

A literal in a type-deduced function call was declared as a double literal
(e.g., `1.`). When ccd_real_t is a double, this is fine. But when it is
a float, the type cannot be successfully deduced.

We correct this by explicitly calling it out as a ccd_real_t-typed value.
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 review, please.

Reviewable status: 0 of 1 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, Sean -- :lgtm: pending CI.

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

@doudou
Copy link

doudou commented Feb 12, 2019

Compiles fine here... Thanks

@SeanCurtis-TRI SeanCurtis-TRI merged commit 6d008b6 into flexible-collision-library:master Feb 12, 2019
@SeanCurtis-TRI SeanCurtis-TRI deleted the PR_doSimplex2_test_fix branch February 12, 2019 17:42
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.

compilation error in test file
3 participants