Skip to content

Commit

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

0 comments on commit 4e8490b

Please sign in to comment.