From 1ed9bcae5cf0a5100a21d2de867dd6a20ab0a4e6 Mon Sep 17 00:00:00 2001 From: Daniel Schwabeneder Date: Wed, 28 Aug 2019 18:43:01 +0200 Subject: [PATCH] small coords bug-fix --- src/components.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components.jl b/src/components.jl index 3e7c312f..be82e5b9 100644 --- a/src/components.jl +++ b/src/components.jl @@ -794,7 +794,7 @@ end @deprecate curve_points coords -coords(curve::BezierCurve, n::Integer = 30; range = [0,1]) = map(curve, range(range..., stop=n, length=50)) +coords(curve::BezierCurve, n::Integer = 30; range = [0,1]) = map(curve, Base.range(range..., length=n)) # build a BezierCurve which leaves point p vertically upwards and arrives point q vertically upwards. # may create a loop if necessary. Assumes the view is [0,1]