forked from diagrams/diagrams-lib
-
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.
fix for: section producing incorrect results diagrams#322
The section instance of SegTree seems to be correct, but the instances for Located, Trail, and Trail' Line all used the default definition which uses splitAtParam instead of SegTree's implementation of section. The default definition of splitAtParam is only correct for types which consist of a single segment or are parametrized by arclength (rather than with each segment having equal weight).
- Loading branch information
Mike Zuser
committed
Mar 7, 2019
1 parent
9febf32
commit c0da81d
Showing
2 changed files
with
6 additions
and
0 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