Skip to content

Conversation

agherzan
Copy link

No description provided.

We have two tests for the case were temp is greater than both points so
drop one of these tests.

We also don't have any interpolation test for the case where temp is
strictly between the points. This change adds one.

Signed-off-by: Andrei Gherzan <[email protected]>
First of all, this clarifies what kind of interpolation is done in
"interpolate_duties" by renaming it to "linear_interpolation_duty". This
function mathematically handles the cases where the point to be fit is
one of the boundaries so there is no need for extra logic of that in
"get_duty_between_points".

This change also includes some minor rewordings and formatting.

Signed-off-by: Andrei Gherzan <[email protected]>
@mmstick mmstick requested a review from a team November 3, 2022 13:42
@agherzan
Copy link
Author

This is very old. Does it make sense to keep it open?

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