diff --git a/crates/fj-math/src/poly_chain.rs b/crates/fj-math/src/poly_chain.rs index cd75153c9..3e365b582 100644 --- a/crates/fj-math/src/poly_chain.rs +++ b/crates/fj-math/src/poly_chain.rs @@ -47,7 +47,7 @@ impl PolyChain { // once `array_windows` is stable. let points = [points[0], points[1]]; - let segment = LineSegment { points }; + let segment = LineSegment::from(points); segments.push(segment); }