From 9ece46528bd090e276dafcab5f293685354fba20 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 4 Nov 2017 21:07:37 +0000 Subject: [PATCH] bugfixes Signed-off-by: Ian Jackson --- check.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/check.py b/check.py index b0374dc..3d74a7d 100644 --- a/check.py +++ b/check.py @@ -12,12 +12,12 @@ n_u = 10 m = Moebius(10) -ts = arange(0, 1, 0.1) +ts = np.linspace(0, 1, 20) -thetas = arange(0, tau, 20) +thetas = np.linspace(0, tau, 20) -c0 = curve( color=color.red, pos = [ m.edge.point(th) for th in thetas ] ) -c1 = curve( color=color.blue, pos = [ m.midline.point(th) for th in thetas ] ) +c0 = curve( color=color.blue, pos = [ m.edge.point(th) for th in thetas ] ) +c1 = curve( color=color.red, pos = [ m.midline.point(th) for th in thetas ] ) for ix_u in range(0, n_u): c2 = curve( pos = [ m.point(ix_u, t) for t in ts ] ) -- 2.30.2