The following results are strange.

sage: import numpy as np
sage: t1 = np.array([3+1])
sage: t2 = t1[0]
sage: t3 = 0
sage: max(t2, t3)
0
sage: min(t2, t3)
4

I get the same results putting t2 and t3 in a tuple for the other max/
min calling convention.  But the comparison operator seems to be fine.

sage: t2 > t3
True

Any ideas?

- Ryan

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to