-
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.
refactor splitAtParam'. fix section x a b w/ a > b
The three cases on p of splitAtParam' on close inspection only differed by what is now splitParam, so could be merged. In addition the new version avoids creating segments of length 0 when p is 0 or 1. I also decided to remove the dead code for creating the rescale function for the right segment. section previously did not handle the case where a > b. I have included it in this commit because it depends on the splitAtParam' which has changed signature.
- Loading branch information
Mike Zuser
committed
Mar 13, 2019
1 parent
542a758
commit dcedd10
Showing
1 changed file
with
26 additions
and
52 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