From 233f4d4465df821ce01559e2989d4d6b93a5030c Mon Sep 17 00:00:00 2001 From: "Michael K. Borregaard" Date: Wed, 30 Aug 2017 15:04:03 +0200 Subject: [PATCH] make linspace arg a float --- src/components.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components.jl b/src/components.jl index eba135c2..69309a4d 100644 --- a/src/components.jl +++ b/src/components.jl @@ -89,7 +89,7 @@ end "create a shape by picking points around the unit circle. `n` is the number of point/sides, `offset` is the starting angle" function makeshape(n; offset = -0.5, radius = 1.0) z = offset * π - Shape(partialcircle(z, z + 2π, n+1, radius)) + Shape(partialcircle(z, z + 2π, n+1., radius)) end