Refactor to simplify

This commit is contained in:
Hanno Braun 2023-09-29 10:48:07 +02:00
parent f98436f46d
commit e098aced8f

View File

@ -70,7 +70,7 @@ impl CurveApproxSegment {
/// Reduce the approximation to the subset defined by the provided boundary /// Reduce the approximation to the subset defined by the provided boundary
pub fn make_subset(&mut self, boundary: CurveBoundary<Point<1>>) { pub fn make_subset(&mut self, boundary: CurveBoundary<Point<1>>) {
assert!( assert!(
self.boundary.is_normalized(), self.is_normalized(),
"Expected normalized segment for making subset." "Expected normalized segment for making subset."
); );
assert!( assert!(