Skip to content

Commit db1093d

Browse files
jcarpentjorisv
authored andcommitted
core: include minimal headers for numpy.hpp
1 parent 3586fcb commit db1093d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

include/eigenpy/numpy.hpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#ifndef __eigenpy_numpy_hpp__
66
#define __eigenpy_numpy_hpp__
77

8-
#include "eigenpy/fwd.hpp"
8+
#include "eigenpy/config.hpp"
99

1010
#ifndef PY_ARRAY_UNIQUE_SYMBOL
1111
#define PY_ARRAY_UNIQUE_SYMBOL EIGENPY_ARRAY_API
@@ -50,6 +50,8 @@ static inline void _Py_SET_TYPE(PyObject* o, PyTypeObject* type) {
5050
#define EIGENPY_GET_PY_ARRAY_TYPE(array) PyArray_MinScalarType(array)->type_num
5151
#endif
5252

53+
#include <complex>
54+
5355
namespace eigenpy {
5456
void EIGENPY_DLLAPI import_numpy();
5557
int EIGENPY_DLLAPI PyArray_TypeNum(PyTypeObject* type);

0 commit comments

Comments
 (0)