Neal Becker
2010-06-04 12:49:17 UTC
Unfortunately, it seems that if my function is:
F (pyublas::numpy_matrix<double>)
Then if I pass it my_array.real, I get:
cpm.cpm_siso(numpy.ndarray, float, numpy.ndarray, numpy.ndarray,
numpy.ndarray, numpy.ndarray)
did not match C++ signature:
cpm_siso(pyublas::numpy_matrix<double,
boost::numeric::ublas::basic_row_major<unsigned long, long> >, double,
pyublas::numpy_vector<double>, pyublas::numpy_vector<double>,
pyublas::numpy_matrix<int, boost::numeric::ublas::basic_row_major<unsigned
long, long> >, pyublas::numpy_matrix<int,
boost::numeric::ublas::basic_row_major<unsigned long, long> >)
I have to pass instead my_array.real.copy().
I wonder if this could be fixed?
F (pyublas::numpy_matrix<double>)
Then if I pass it my_array.real, I get:
cpm.cpm_siso(numpy.ndarray, float, numpy.ndarray, numpy.ndarray,
numpy.ndarray, numpy.ndarray)
did not match C++ signature:
cpm_siso(pyublas::numpy_matrix<double,
boost::numeric::ublas::basic_row_major<unsigned long, long> >, double,
pyublas::numpy_vector<double>, pyublas::numpy_vector<double>,
pyublas::numpy_matrix<int, boost::numeric::ublas::basic_row_major<unsigned
long, long> >, pyublas::numpy_matrix<int,
boost::numeric::ublas::basic_row_major<unsigned long, long> >)
I have to pass instead my_array.real.copy().
I wonder if this could be fixed?