Skip to content

change precision EPSILON in C code #217

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

Merged
merged 3 commits into from
Nov 12, 2020
Merged

change precision EPSILON in C code #217

merged 3 commits into from
Nov 12, 2020

Conversation

ncourty
Copy link
Collaborator

@ncourty ncourty commented Nov 12, 2020

Types of changes

  • Docs change / refactoring / dependency upgrade
  • [ X] Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Motivation and context / Related issue

Problem INFEASIBLE cast where it should not happen.

Fixes #126

Fixes #93

How has this been tested (if it applies)

The minimal code to repdroduce the bug is now working.
A user tested on its own data and now the problem is also working

Checklist

  • The documentation is up-to-date with the changes I made.
  • I have read the CONTRIBUTING document.
  • All tests passed, and additional code has been covered with new tests.

@codecov
Copy link

codecov bot commented Nov 12, 2020

Codecov Report

Merging #217 (b554ebd) into master (93785eb) will increase coverage by 3.92%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #217      +/-   ##
==========================================
+ Coverage   88.48%   92.40%   +3.92%     
==========================================
  Files          20       16       -4     
  Lines        3196     3056     -140     
==========================================
- Hits         2828     2824       -4     
+ Misses        368      232     -136     

@ncourty
Copy link
Collaborator Author

ncourty commented Nov 12, 2020

Finally I only changed the final test value against EPSILON to test wether the problem is infeasible or not. It drastically limitates the side effects in the resolution of the problem.

@rflamary rflamary merged commit cb3e24a into master Nov 12, 2020
@ncourty ncourty deleted the precision_concern branch November 12, 2020 15: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.

Infeasible solution for EMD but inputs are in the simplex? Not in simplex -- two sets of largely different sizes
3 participants