Skip to content

Commit

Permalink
Numpy 1.6 compatibility in _delaunay.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
jkseppan committed Sep 21, 2014
1 parent 6f10f71 commit 447c90d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/matplotlib/delaunay/_delaunay.cpp
Expand Up @@ -8,6 +8,11 @@
#include "natneighbors.h"
#include "numpy/noprefix.h"

// support numpy 1.6 - this macro got renamed and deprecated at once in 1.7
#ifndef NPY_ARRAY_IN_ARRAY
#define NPY_ARRAY_IN_ARRAY NPY_IN_ARRAY
#endif

using namespace std;

extern "C" {
Expand Down

0 comments on commit 447c90d

Please sign in to comment.