[PYTHON MATRIX-SIG] Segmentation fault (core dumped)

Konrad Hinsen hinsen@ibs.ibs.fr
Tue, 27 May 1997 18:36:49 +0200


> Is that the intended behaviour of NumPy?

No! A crash is never intended.

> Is my configuration right? (Do you observ the same?)

It doesn't crash for me, but the result is not right:

>>> import Numeric
>>> from Numeric import *
>>> a = array([2,3])
>>> inputs = array([])
>>> inputs = concatenate(inputs, a)
>>> inputs
zeros((0,), 'c')

Konrad.
-- 
-------------------------------------------------------------------------------
Konrad Hinsen                          | E-Mail: hinsen@ibs.ibs.fr
Laboratoire de Dynamique Moleculaire   | Tel.: +33-4.76.88.99.28
Institut de Biologie Structurale       | Fax:  +33-4.76.88.54.94
41, av. des Martyrs                    | Deutsch/Esperanto/English/
38027 Grenoble Cedex 1, France         | Nederlands/Francais
-------------------------------------------------------------------------------

_______________
MATRIX-SIG  - SIG on Matrix Math for Python

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