Open wolfv opened 5 years ago
We could add a macro that automatically does the following, so that users don't forget to do xt::import_numpy() which results in weird segfaults.
xt::import_numpy()
PYBIND11_MODULE(mymodule, m) { xt::import_numpy(); }
We could add a macro that automatically does the following, so that users don't forget to do
xt::import_numpy()
which results in weird segfaults.