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

Don't allow I_P to go negative due to rounding error #417

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

richfitz
Copy link
Member

We were seeing errors in n_S_progress eventually traced back to the
calculation of new_I_P. There's a rounding error corner case where
a - (b + c) can be slightly negative where a == d and d = b + c

We were seeing errors in `n_S_progress` eventually traced back to the
calculation of new_I_P. There's a rounding error corner case where
a - (b + c) can be slightly negative where a == d and d = b + c
@codecov
Copy link

codecov bot commented May 19, 2022

Codecov Report

Base: 100.00% // Head: 100.00% // No change to project coverage 👍

Coverage data is based on head (329ce61) compared to base (3debc9c).
Patch has no changes to coverable lines.

❗ Current head 329ce61 differs from pull request most recent head 64ebc92. Consider uploading reports for the commit 64ebc92 to get more accurate results

Additional details and impacted files
@@            Coverage Diff            @@
##            master      #417   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           15        15           
  Lines         3157      3142   -15     
=========================================
- Hits          3157      3142   -15     
Impacted Files Coverage Δ
R/lancelot.R 100.00% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@richfitz richfitz marked this pull request as ready for review May 19, 2022 15:46
@richfitz richfitz requested a review from edknock May 19, 2022 15:46
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.

3 participants