We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 340afab commit 41100e6Copy full SHA for 41100e6
include/pybind11/numpy.h
@@ -120,7 +120,7 @@ inline numpy_internals &get_numpy_internals() {
120
return *ptr;
121
}
122
123
-module_ import_numpy_core_submodule(const char *submodule_name) {
+PYBIND11_NOINLINE module_ import_numpy_core_submodule(const char *submodule_name) {
124
try {
125
return module_::import((std::string("numpy._core.") + submodule_name).c_str());
126
} catch (error_already_set &ex) {
0 commit comments