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 bb7157b commit ce6b4bbCopy full SHA for ce6b4bb
include/pybind11/numpy_ufunc.h
@@ -251,7 +251,7 @@ class ufunc : public object {
251
size_t ncore = core_funcs_.size();
252
size_t t_index = core_type_args_.size();
253
int nargs = nin_ + nout_;
254
- core_type_args_.resize(ncore * nargs);
+ core_type_args_.resize(ncore * static_cast<size_t>(nargs));
255
for (size_t i = 0; i < dtype_args.size(); ++i) {
256
core_type_args_.at(t_index++) = (char)dtype_args[i];
257
}
0 commit comments