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

Always calculate TDD #31

Open
wants to merge 1 commit into
base: tcd
Choose a base branch
from
Open

Always calculate TDD #31

wants to merge 1 commit into from

Conversation

simonp22
Copy link

This PR is in response to nightscout/Trio#393.

At the moment just a proposed solution up for discussion in nightscout/Trio#393

@mountrcg
Copy link
Contributor

this is fine and tested

@simonp22 simonp22 marked this pull request as ready for review December 10, 2024 11:07
@mountrcg
Copy link
Contributor

mountrcg commented Dec 11, 2024

hold that thought for a moment

@simonp22 could you close this and reopen with target branch being tcd please? Please also adjust line

if (weightPercentage < 1 && weightedAverage > 0) {
to weightedAverage > 1

@mountrcg mountrcg removed their assignment Dec 11, 2024
@bjornoleh bjornoleh changed the base branch from dev to tcd December 11, 2024 08:13
@bjornoleh
Copy link
Contributor

I changed the base branch to tcd. Please check if this looks good. @mountrcg

@simonp22
Copy link
Author

hold that thought for a moment

@simonp22 could you close this and reopen with target branch being tcd please? Please also adjust line

if (weightPercentage < 1 && weightedAverage > 0) {

to weightedAverage > 1

Could there not be scenarios where weightedAverage < 1 here? Is it safe to ignore those?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

3 participants