[C++-sig] numpy.ndarray did not match PyArrayObject *

David Abrahams dave at boost-consulting.com
Tue Sep 26 06:28:26 CEST 2006


"Qinfeng(Javen) Shi " <shiqinfeng at gmail.com> writes:

> Hi David,
> I did what you told me.
> But it reported that PyArrayObject_Type undeclared though I included
> "arrayobject.h".
> Any important trick I missed?

Yes, the very subtle trick at the bottom of my posting

  "replace the indicated with the name of NumPy's python type object
  for ndarray."

:)
-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com




More information about the Cplusplus-sig mailing list