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

RXR-374: Support grams as input unit in weight2kg #11

Merged
merged 1 commit into from
Jul 7, 2021
Merged

Conversation

karawoo
Copy link
Contributor

@karawoo karawoo commented Jul 7, 2021

Allows weight2kg() to convert grams to kg.

@karawoo karawoo requested a review from jasmineirx July 7, 2021 17:02
Copy link
Contributor

@jasmineirx jasmineirx left a comment

Choose a reason for hiding this comment

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

lgtm! surprising that this function isn't vectorized. maybe its something to improve on later.

@karawoo
Copy link
Contributor Author

karawoo commented Jul 7, 2021

It's vectorized over the values which seems pretty normal to me, I actually think it's weirder that so many of our functions are vectorized over multiple arguments. But I might just be scarred by all the bugs I found in calc_ibw() the other day...

@karawoo karawoo merged commit f15bf6e into master Jul 7, 2021
@jasmineirx jasmineirx deleted the RXR-374 branch October 1, 2021 14:16
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.

2 participants