Skip to content

Commit 745e568

Browse files
authored
Fix longdouble complex docstring to clongdouble (#5952)
1 parent 10f8708 commit 745e568

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
@@ -416,7 +416,7 @@ struct npy_format_descriptor_name<T, enable_if_t<is_complex<T>::value>> {
416416
|| std::is_same<typename T::value_type, const double>::value
417417
> (const_name("numpy.complex")
418418
+ const_name<sizeof(typename T::value_type) * 16>(),
419-
const_name("numpy.longcomplex"));
419+
const_name("numpy.clongdouble"));
420420
};
421421

422422
template <typename T>

0 commit comments

Comments
 (0)