Prepare for follow-on change

This commit is contained in:
Hanno Braun 2024-09-26 19:39:19 +02:00
parent a1433a6e2c
commit b9a8c2e305

View File

@ -47,7 +47,7 @@ impl<const D: usize> PolyChain<D> {
// once `array_windows` is stable.
let points = [points[0], points[1]];
let segment = LineSegment { points };
let segment = LineSegment::from(points);
segments.push(segment);
}