Skip to content

Commit

Permalink
this should be an integer div in all cases
Browse files Browse the repository at this point in the history
  • Loading branch information
jenshnielsen committed Nov 23, 2014
1 parent 19ff065 commit bef672b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/units/basic_units.py
Expand Up @@ -311,7 +311,7 @@ def rad_fn(x, pos=None):
elif n == 2:
return r'$\pi$'
elif n % 2 == 0:
return r'$%s\pi$' % (n/2,)
return r'$%s\pi$' % (n//2,)
else:
return r'$%s\pi/2$' % (n,)

Expand Down

0 comments on commit bef672b

Please sign in to comment.