Skip to content

Commit 4e8490b

Browse files
committed
make both const_name
Signed-off-by: Michael Carlstrom <rmc@carlstrom.com>
1 parent 6c61c00 commit 4e8490b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/pybind11/numpy.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1445,7 +1445,7 @@ struct pyobject_caster<array_t<T, ExtraFlags>> {
14451445
return src.inc_ref();
14461446
}
14471447
PYBIND11_TYPE_CASTER(type,
1448-
io_name("numpy.typing.ArrayLike",
1448+
io_name(const_name("numpy.typing.ArrayLike"),
14491449
const_name("numpy.typing.NDArray[")
14501450
+ npy_format_descriptor<T>::name + const_name("]")));
14511451
};

0 commit comments

Comments
 (0)