-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix several errors in Sectionable of SegTree
- section failed for p1 < 0 ∧ p2 = 0 because treeL was empty - fix div by zero when p2 is at the end of a segment - document the safety of the divisions in sectionAtParam' - fix error in rescale when p2 is at the end of a segment - add test cases for when ps are domain ends on relevent domains
- Loading branch information
Mike Zuser
committed
Mar 23, 2019
1 parent
d40c12e
commit 418b3b7
Showing
2 changed files
with
36 additions
and
8 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