Skip to content

Commit 75b465c

Browse files
committed
add parens for the sake of clarity
1 parent d0d9632 commit 75b465c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/api/collections_demo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
# Make some spirals
2929
r = np.array(range(nverts))
30-
theta = np.array(range(nverts))*2*np.pi/(nverts - 1)
30+
theta = np.array(range(nverts))*(2*np.pi)/(nverts - 1)
3131
xx = r * np.sin(theta)
3232
yy = r * np.cos(theta)
3333
spiral = list(zip(xx, yy))

0 commit comments

Comments
 (0)