add support for noconvert#75
add support for noconvert#75nbecker wants to merge 4 commits into
Conversation
|
Should probably add a test, but I'm not familiar with the codebase |
|
set(XTENSOR_PYTHON_HEADERS
${XTENSOR_PYTHON_INCLUDE_DIR}/xtensor-python/pyarray.hpp
${XTENSOR_PYTHON_INCLUDE_DIR}/xtensor-python/pybuffer_adaptor.hpp
${XTENSOR_PYTHON_INCLUDE_DIR}/xtensor-python/pycontainer.hpp
${XTENSOR_PYTHON_INCLUDE_DIR}/xtensor-python/pytensor.hpp
${XTENSOR_PYTHON_INCLUDE_DIR}/xtensor-python/pyvectorize.hpp
${XTENSOR_PYTHON_INCLUDE_DIR}/xtensor-python/xtensor_python_config.hpp
)Each time you add a header to the project, you must update this list.
set(XTENSOR_PYTHON_TESTS
main.cpp
test_pyarray.cpp
test_pytensor.cpp
test_pyvectorize.cpp
)As for headers, every new cpp test file should be added to this list. Tests rely on
|
|
I don't think you need to add the file pytraits.hpp, |
|
If we add a test for noconvert, we should expect a testcase that will raise an exception. I didn't see any example of this type of test in the current test directory. |
|
Indeed, I think you could rely on |
|
Fixed in #87. |
No description provided.