提交 5609e40b authored 作者: ziyuang's avatar ziyuang

Fixed the compilation errors in mod.cu

The generated mod.cu contains a number of std::min and std::max. Including <algorithm> will remove the not-found errors from these two functions.
上级 af6bd549
......@@ -6,6 +6,7 @@
// Py3k treats all ints as longs. This one is not caught by npy_3kcompat.h.
#define PyNumber_Int PyNumber_Long
#include <algorithm>
#include "numpy/npy_3kcompat.h"
// Py3k strings are unicode, these mimic old functionality.
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论