Skip to content

Commit 4c4c2be

Browse files
committed
BF - fix doctest floating point error
On OSX 10.5, the number output from the repr here was 1.499... rather than 1.5.
1 parent 80c725c commit 4c4c2be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nibabel/eulerangles.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ def euler2angle_axis(z=0, y=0, x=0):
365365
Examples
366366
--------
367367
>>> theta, vec = euler2angle_axis(0, 1.5, 0)
368-
>>> theta
368+
>>> print(theta)
369369
1.5
370370
>>> np.allclose(vec, [0, 1, 0])
371371
True

0 commit comments

Comments
 (0)