diff --git a/src/pdal/PyArray.cpp b/src/pdal/PyArray.cpp index d3521173..55f87b5d 100644 --- a/src/pdal/PyArray.cpp +++ b/src/pdal/PyArray.cpp @@ -90,6 +90,10 @@ std::string toString(PyObject *pname) } // unnamed namespace +#if NPY_ABI_VERSION < 0x02000000 + #define PyDataType_FIELDS(descr) ((descr)->fields) +#endif + Array::Array(PyArrayObject* array) : m_array(array), m_rowMajor(true) { Py_XINCREF(array); diff --git a/src/pdal/__init__.py b/src/pdal/__init__.py index 41b36121..a312f568 100644 --- a/src/pdal/__init__.py +++ b/src/pdal/__init__.py @@ -1,5 +1,5 @@ __all__ = ["Pipeline", "Stage", "Reader", "Filter", "Writer", "dimensions", "info"] -__version__ = '3.4.4' +__version__ = '3.4.5' from . import libpdalpython from .drivers import inject_pdal_drivers