[PYTHON MATRIX-SIG] Bug

Jim Phillips jim@ks.uiuc.edu
Thu, 24 Oct 96 11:59:13 -0500


Very strange bug we've got here.  For the exact same code and compiler I get  
different results depending on the architecture!

On an HP:

Python 1.4b3 (Oct 22 1996)  [GCC 2.7.2]
Copyright 1991-1996 Stichting Mathematisch Centrum, Amsterdam
>>> from Numeric import *
>>> a = array(3)
>>> a[:,NewAxis]
EmptyArray

On an SGI:

Python 1.4b3 (Oct 22 1996)  [GCC 2.7.2]
Copyright 1991-1996 Stichting Mathematisch Centrum, Amsterdam
>>> from Numeric import *
>>> a = array(3)
>>> a[:,NewAxis]
Segmentation fault (core dumped)

-Jim Phillips
 jim@ks.uiuc.edu

=================
MATRIX-SIG  - SIG on Matrix Math for Python

send messages to: matrix-sig@python.org
administrivia to: matrix-sig-request@python.org
=================