From e098aced8fb21d220bfa900390f5dd0038ea8b08 Mon Sep 17 00:00:00 2001 From: Hanno Braun Date: Fri, 29 Sep 2023 10:48:07 +0200 Subject: [PATCH] Refactor to simplify --- crates/fj-core/src/algorithms/approx/curve/segment.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/fj-core/src/algorithms/approx/curve/segment.rs b/crates/fj-core/src/algorithms/approx/curve/segment.rs index 0047e712f..3e8e43932 100644 --- a/crates/fj-core/src/algorithms/approx/curve/segment.rs +++ b/crates/fj-core/src/algorithms/approx/curve/segment.rs @@ -70,7 +70,7 @@ impl CurveApproxSegment { /// Reduce the approximation to the subset defined by the provided boundary pub fn make_subset(&mut self, boundary: CurveBoundary>) { assert!( - self.boundary.is_normalized(), + self.is_normalized(), "Expected normalized segment for making subset." ); assert!(