Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Revert "added compatibility fixes for numpy 1.6.2"
This reverts commit 0a7f038.
  • Loading branch information
inducer committed Nov 27, 2013
1 parent 0a7f038 commit a02d49d
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions pyublas/include/pyublas/numpy.hpp
Expand Up @@ -46,26 +46,6 @@
#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
#include <numpy/arrayobject.h>

#if NPY_FEATURE_VERSION < 0x00000007

#define NPY_ARRAY_ALIGNED NPY_ALIGNED
#define NPY_ARRAY_NOTSWAPPED NPY_NOTSWAPPED
#define NPY_ARRAY_C_CONTIGUOUS NPY_C_CONTIGUOUS
#define NPY_ARRAY_F_CONTIGUOUS NPY_F_CONTIGUOUS
#define NPY_ARRAY_CARRAY NPY_CARRAY
#define NPY_ARRAY_FARRAY NPY_FARRAY

namespace
{
inline int PyArray_SetBaseObject(PyArrayObject * obj, PyObject * base)
{
PyArray_BASE(obj) = base;
return 0;
}
}

#endif

namespace
{
static struct pyublas_array_importer
Expand Down

0 comments on commit a02d49d

Please sign in to comment.