Re: [Numpy-discussion] embedded arrays- still an issue

2008-06-24 Thread Thomas Hrabe
Please let me know if there are any ways how to go on from this point. I am new into this kind of debugging... Thank you in advance for your help, Thomas -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] im Auftrag von Robert Kern Gesendet: Fr 06.06.2008 15:27 An: Discussion of Numerical Py

Re: [Numpy-discussion] embedded arrays - continued

2008-06-19 Thread Thomas Hrabe
15:27 An: Discussion of Numerical Python Betreff: Re: [Numpy-discussion] embedded arrays On Fri, Jun 6, 2008 at 17:10, Thomas Hrabe <[EMAIL PROTECTED]> wrote: > Hi all, > > while writing a extension module in C++ for python & numpy, I find a strange > error. > > I

Re: [Numpy-discussion] embedded arrays

2008-06-07 Thread Andreas Klöckner
On Freitag 06 Juni 2008, Thomas Hrabe wrote: > Furthermore, I sometimes get a > Segmentation fault > Illegal instruction > > and sometimes it works > > It might be a memory leak, due to the segfault and the arbitrary behavior.? Shameless plug: PyUblas [1] will take care of the nasty bits of wrappi

Re: [Numpy-discussion] embedded arrays

2008-06-06 Thread Thomas Hrabe
: numpy-discussion@scipy.org Betreff: [Numpy-discussion] embedded arrays Hi all, while writing a extension module in C++ for python & numpy, I find a strange error. I can send and retrieve numpy arrays to and from my module. But python stops if I do the following: a = numpy.array([[1.1

Re: [Numpy-discussion] embedded arrays

2008-06-06 Thread Robert Kern
On Fri, Jun 6, 2008 at 17:10, Thomas Hrabe <[EMAIL PROTECTED]> wrote: > Hi all, > > while writing a extension module in C++ for python & numpy, I find a strange > error. > > I can send and retrieve numpy arrays to and from my module. > But python stops if I do the following: > > a = numpy.array([[1

[Numpy-discussion] embedded arrays

2008-06-06 Thread Thomas Hrabe
Hi all, while writing a extension module in C++ for python & numpy, I find a strange error. I can send and retrieve numpy arrays to and from my module. But python stops if I do the following: a = numpy.array([[1.1,2,3],[4,5,6]]) PM.put(a,'a') //send a to the module b = PM.get('a') //get a ide