File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
examples/extensions/pybind11 Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
1
2
2
pip install pybind11
3
3
4
- g++ -O3 -Wall -Wextra -shared -std=c++17 -fPIC $(python3 -m pybind11 --includes) mandel.cpp -o mandel$(python3-config --extension-suffix)
4
+ g++ -O3 -DNDEBUG -Wall -Wextra -shared -std=c++17 -fPIC $(python3 -m pybind11 --includes) mandel.cpp -o mandel$(python3-config --extension-suffix)
5
5
6
6
7
7
see https://stackoverflow.com/questions/44659924/returning-numpy-arrays-via-pybind11
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ This version uses a simple Array class to give us nice indexing into a contiguou
2
2
3
3
pip install pybind11
4
4
5
- g++ -DNDEBUG -O3 -Wall -Wextra -shared -std=c++17 -fPIC $(python3 -m pybind11 --includes) mandel.cpp -o mandel$(python3-config --extension-suffix)
5
+ g++ -DNDEBUG -O3 -Wall -Wextra -shared -std=c++17 -fPIC $(python3 -m pybind11 --includes) mandel.cpp -o mandel$(python3-config --extension-suffix)
6
6
7
7
8
8
see https://stackoverflow.com/questions/44659924/returning-numpy-arrays-via-pybind11
You can’t perform that action at this time.
0 commit comments