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

try to use fabs instead of abs to see if flatpack cares #3638

Merged
merged 1 commit into from
Mar 10, 2019

Conversation

ebbit1q
Copy link
Member

@ebbit1q ebbit1q commented Mar 8, 2019

For some reason builds on flatpack aren't working, this is a test if using fabs instead of abs is the issue.

To elaborate on this issue: abs(double) is not in c++11, it was added in c++17 and this is why we can still compile it.
Now fabs(double) is the exact same operation and available from c++11 onwards.

Copy link
Member

@tooomm tooomm left a comment

Choose a reason for hiding this comment

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

Looking at flathub/io.github.Cockatrice.cockatrice#17 it seems to work!

@ctrlaltca ctrlaltca merged commit 11b2942 into Cockatrice:master Mar 10, 2019
@ebbit1q ebbit1q deleted the fabs_for_flatpack branch March 10, 2019 18:04
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

3 participants