Skip to content

Commit

Permalink
try T
Browse files Browse the repository at this point in the history
  • Loading branch information
InvincibleRMC committed Jan 25, 2025
1 parent d08b3a8 commit 6c61c00
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/pybind11/numpy.h
Original file line number Diff line number Diff line change
Expand Up @@ -1445,9 +1445,9 @@ struct pyobject_caster<array_t<T, ExtraFlags>> {
return src.inc_ref();
}
PYBIND11_TYPE_CASTER(type,
io_name(const_name("numpy.typing.ArrayLike]"),
io_name("numpy.typing.ArrayLike",
const_name("numpy.typing.NDArray[")
+ npy_format_descriptor<type>::name + const_name("]")));
+ npy_format_descriptor<T>::name + const_name("]")));
};

template <typename T>
Expand Down

0 comments on commit 6c61c00

Please sign in to comment.