Hi!

This little prorgram (it accidentially came to my keyboard) results in a
segmentation fault:

# start
import numpy
import pylab
pulsewidth=3e-6
t_array=(numpy.arange(2048, dtype=numpy.float32)-1024)*90e-9
sinc_array=numpy.array((len(t_array),),dtype=numpy.float32)
sinc_array[:]=1e-6
sinc_array[numpy.abs(t_array)<(pulsewidth/2)]=1.0
# end

I do not use pylab. Just remove the "import pylab" statement and the
program exits without any fault.

The machine is a i686 with Debian testing distribution. The version
numbers are

python-matplotlib                0.90.0-1
python-matplotlib-data           0.90.0-1
python-matplotlib-doc            0.90.0-1

and

python-numpy                     1:1.0.3-1
python-numpy-dev                 1:1.0.3-1
python-numpy-doc                 1:1.0.3-1
python-numpy-ext                 1:1.0.3-1

Does anyone have similar problems?

Yours, Achim

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to