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 CompareNumbers with in-place numeric comparisons. #4550

Merged
merged 4 commits into from Sep 27, 2021

Conversation

ajolma
Copy link
Member

@ajolma ajolma commented Sep 26, 2021

What does this PR do?

Fixes(?) the CompareNumbers fct in wcsutils.cpp

What are related issues/pull requests?

#4483

Tasklist

  • ADD YOUR TASKS HERE
  • Add test case(s)
  • Add documentation
  • Review
  • Adjust for comments
  • All CI builds and checks have passed

Environment

Provide environment details, if relevant:

  • OS:
  • Compiler:

@ajolma
Copy link
Member Author

ajolma commented Sep 26, 2021

The Fedora test failure seems to be due to differences between numerical accuracy in generated URLs (a bit stupid test).

@ajolma ajolma requested a review from rouault September 26, 2021 12:03
@ajolma ajolma changed the title Replace CompareNumbers with a simple fct based on std::stod. Replace CompareNumbers with in-place numeric comparisons. Sep 26, 2021
@rouault
Copy link
Member

rouault commented Sep 26, 2021

Perhaps the line "if gdaltest.is_travis_branch('s390x') or gdaltest.is_travis_branch('graviton2') or gdaltest.is_travis_branch('ubuntu_2004')" in wcs.py is no longer needed ?

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