Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Numpy 1.6 compatibility in _delaunay.cpp
  • Loading branch information
jkseppan committed Sep 21, 2014
commit 447c90d65a43261686fab9decb38edb3eaae4014
5 changes: 5 additions & 0 deletions lib/matplotlib/delaunay/_delaunay.cpp
Original file line number Diff line number Diff line change
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