Skip to content

Commit

Permalink
Refs #4399. Fix include that isn't in all numpy versions
Browse files Browse the repository at this point in the history
  • Loading branch information
martyngigg committed Feb 16, 2012
1 parent 10dddf2 commit c240c7b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@
*/
#include "MantidKernel/System.h"
#include <boost/python/detail/prefix.hpp> // Safe include of Python.h
#include <numpy/ndarraytypes.h>

//#define PY_ARRAY_UNIQUE_SYMBOL KERNEL_ARRAY_API
#define NO_ARRAY_IMPORT
#include <numpy/ndarrayobject.h>

namespace Mantid
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@
#include "MantidPythonInterface/kernel/Converters/NDArrayTypeIndex.h"
#include <boost/python/extract.hpp>

//#define PY_ARRAY_UNIQUE_SYMBOL KERNEL_ARRAY_API
#define NO_ARRAY_IMPORT
#include <numpy/ndarrayobject.h>

namespace Mantid
{
namespace PythonInterface
Expand Down

0 comments on commit c240c7b

Please sign in to comment.