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

Updated to use hpp-skel #55

Merged
merged 8 commits into from
Aug 28, 2018
Merged

Updated to use hpp-skel #55

merged 8 commits into from
Aug 28, 2018

Conversation

flippmoke
Copy link
Member

Updated to use the layout of https://github.com/mapbox/hpp-skel

  • Updates unit tests to use catch.hpp
  • Added framework for benchmarks (will be added soon after)
  • Updated to use cmake
  • Added silencing of -Wfloat-equal errors in point.hpp
  • Added codecov
  • Updated travis build scripts

/cc @springmeyer @artemp @jfirebaugh @GretaCB @mapsam

@flippmoke
Copy link
Member Author

I should note that I added the .clang-format file, but didn't run make format. I can run this as well in this PR, but wanted to visually make it easier for others to see differences made else where prior to this.

@@ -19,12 +19,17 @@ struct point
T y;
};

#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wfloat-equal"
Copy link

Choose a reason for hiding this comment

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

Curious why ignored "-Wfloat-equal"?

Copy link
Member Author

Choose a reason for hiding this comment

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

If we do not, then compare operations on any base class using a double or float type would have a compile warning and fail. This is a known issue that is being considered in #49. Until we figure out a great way to resolve this, I don't want to cause compilation failures.

@@ -0,0 +1,30 @@
#!/usr/bin/env bash
Copy link

Choose a reason for hiding this comment

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

You probs dont need this file at all

@flippmoke flippmoke merged commit a88ff97 into algorithms Aug 28, 2018
@flippmoke flippmoke deleted the skel branch August 28, 2018 19:34
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.

2 participants