Skip to content

Conversation

@ps2
Copy link
Owner

@ps2 ps2 commented Mar 8, 2019

No description provided.

Copy link
Contributor

@darinkrauss darinkrauss left a comment

Choose a reason for hiding this comment

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

Only one thing that really needs a look at, plus a nit for your consideration.

return state.pumpModel.supportedBasalRates
}

public var supportedBolusVolumes: [Double] {
Copy link
Contributor

Choose a reason for hiding this comment

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

[nit] Order here the same as in the protocol?

}

public var supportedBolusVolumes: [Double] {
return supportedBasalRates.filter { $0 < maximumBolusVolume }
Copy link
Contributor

Choose a reason for hiding this comment

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

I think < should be <=.

}

public var maximumBasalRate: Double {
return 35
Copy link
Contributor

Choose a reason for hiding this comment

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

Really!?! Wow. (Nothing wrong, just shocked this is so high.)

Copy link
Contributor

@darinkrauss darinkrauss left a comment

Choose a reason for hiding this comment

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

LGTM 🚀

@ps2 ps2 merged commit 930c586 into dev Mar 9, 2019
@ps2 ps2 deleted the pump-precision branch April 6, 2019 13:34
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