diff --git a/crates/fj-core/src/algorithms/approx/curve.rs b/crates/fj-core/src/algorithms/approx/curve.rs index 1808f139b..d772512e5 100644 --- a/crates/fj-core/src/algorithms/approx/curve.rs +++ b/crates/fj-core/src/algorithms/approx/curve.rs @@ -76,6 +76,8 @@ fn approx_circle_on_straight_surface( surface: &SurfaceGeom, tolerance: impl Into, ) -> Vec> { + let tolerance = tolerance.into(); + approx_circle(circle, boundary, tolerance) .into_iter() .map(|(point_curve, point_surface)| { @@ -105,6 +107,8 @@ fn approx_line_on_any_surface( surface: &SurfaceGeom, tolerance: impl Into, ) -> Vec> { + let tolerance = tolerance.into(); + let range_u = CurveBoundary::from( boundary .inner