-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: remove invalid_value functionality in bisect (#13)
* feat: remove invalid_value functionality in bisect 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. * test that bisect raises ValueError * fix bisect function for array inputs, more tests * Update tests/test_solver.py * Update tests/test_solver.py --------- Co-authored-by: Amund Faller Råheim <[email protected]> Co-authored-by: Gunnhild Svandal Presthus <[email protected]>
- Loading branch information
1 parent
c90e78c
commit 617db5c
Showing
3 changed files
with
58 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[tool.poetry] | ||
name = "linerate" | ||
version = "0.0.7-post.3+62231f4" | ||
version = "1.0.0" | ||
description = "Library for computing line ampacity ratings for overhead lines" | ||
authors = ["Statnett Datascience <[email protected]>", "Yngve Mardal Moe <[email protected]>"] | ||
repository = "https://github.com/statnett/linerate.git" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters