chiark / gitweb /
bugfixes
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 4 Nov 2017 21:07:37 +0000 (21:07 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 4 Nov 2017 21:07:37 +0000 (21:07 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
check.py

index b0374dcb1d45f79f314764af43755531302bfbea..3d74a7dcf8ed98c8508707bbced4ccb865f37e10 100644 (file)
--- 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 ] )