[PYTHON MATRIX-SIG] little buggies
tim@lassi.ece.uiuc.edu
tim@lassi.ece.uiuc.edu
Tue, 13 Aug 1996 13:17:51 -0500
Hi,
Here some problems I found when playing around with the new version of
numerical python. Sorry if they've allready been noted.
1) divmod crashes the interpreter when invoked with array arguments.
>>> a
1 1 1 1 1
>>> b
2 2 2 2 2
>>> print divmod(a,b)
Segmentation fault
2) Choose faults also for bad indices.
>>> choose((0,1,2),(a,b))
Segmentation fault
3) Where insists that condition be 0,1 instead of 0, nonzero : is this
right?
--
-tim
+--------------------------------------------------------------------+
| Tim Hochberg Ultrahigh Speed Digital Electronics Lab |
| tim@lassi.ece.uiuc.edu University of Illinois |
| http://dogbert.ece.uiuc.edu/~tim (217) 333-6014 |
+--------------------------------------------------------------------+
=================
MATRIX-SIG - SIG on Matrix Math for Python
send messages to: matrix-sig@python.org
administrivia to: matrix-sig-request@python.org
=================