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

feat: remove invalid_value functionality in bisect #13

Merged
merged 7 commits into from
Apr 5, 2024

Conversation

amundfr
Copy link
Collaborator

@amundfr amundfr commented Apr 2, 2024

BREAKING CHANGE: remove invalid_value parameter and functionality in bisect method, instead raise ValueError.
By extension, changes behaviour of compute_conductor_ampacity which had invaluid_value set to 0 when bisect failed. Will now raise ValueError

amundfr and others added 2 commits April 2, 2024 12:36
BREAKING CHANGE: remove invalid_value parameter and functionality in bisect method, instead raise ValueError. By extension, changes behaviour of compute_conductor_ampacity which had invaluid_value set to 0 when bisect failed.
tests/test_solver.py Outdated Show resolved Hide resolved
tests/test_solver.py Outdated Show resolved Hide resolved
linerate/solver.py Show resolved Hide resolved
tests/test_solver.py Outdated Show resolved Hide resolved
@amundfr amundfr requested a review from gunnhildsp April 4, 2024 12:31
tests/test_solver.py Outdated Show resolved Hide resolved
tests/test_solver.py Outdated Show resolved Hide resolved
Copy link
Collaborator

@gunnhildsp gunnhildsp left a comment

Choose a reason for hiding this comment

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

Nice work!

amundfr and others added 2 commits April 5, 2024 09:49
Co-authored-by: Gunnhild Svandal Presthus <36099159+gunnhildsp@users.noreply.github.com>
Co-authored-by: Gunnhild Svandal Presthus <36099159+gunnhildsp@users.noreply.github.com>
@amundfr amundfr merged commit 617db5c into main Apr 5, 2024
6 checks passed
@amundfr amundfr deleted the feat-remove-invalid-value-in-solver branch April 5, 2024 07:53
@gunnhildsp gunnhildsp mentioned this pull request Apr 5, 2024
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