Mercurial > hg > vampy-host
changeset 11:e5b575d69b01 lf-numpy-arrays
changed a comment
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Wed, 20 Mar 2013 11:07:24 +0000 |
parents | 8306b7fdd2d0 |
children | |
files | vampyhost.cpp |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/vampyhost.cpp Tue Mar 19 15:43:56 2013 +0000 +++ b/vampyhost.cpp Wed Mar 20 11:07:24 2013 +0000 @@ -546,6 +546,8 @@ float **inbuf = new float *[channels]; cout << "Created inbuf with #channels: " << channels << endl; + + for (int c = 0; c < channels; ++c) { // cout << "[Host] Converting channel #" << c << endl; @@ -555,7 +557,7 @@ inbuf[c] = pyArrayToFloatArray((PyObject*) pyBuffer); - cout << "Ok2..." << endl; + cout << "Converted " << endl; if (!inbuf[c]) { PyErr_SetString(PyExc_TypeError,"NumPy Array required for each channel in process input.");