Feb. 1, 2006
9:40 p.m.
I ran into a couple bugs in scalartypes.inc.src: - The switch statement in PyArray_ScalarAsCtype was missing some breaks. - When SIZEOF_LONGDOUBLE == SIZEOF_DOUBLE, PREC_REPR and PREC_STR should both be 17, not 15. (This matches what's done in floatobject.c for Python's float.) The attached patch (against SVN revision 2045) fixes both problems. Cheers, Chris
7247
Age (days ago)
7247
Last active (days ago)
0 comments
1 participants
participants (1)
-
Christopher Stawarz