Skip to content

Commit

Permalink
fix numpy, eigen
Browse files Browse the repository at this point in the history
  • Loading branch information
InvincibleRMC committed Dec 12, 2024
1 parent 06c1017 commit ce2b35f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/pybind11/detail/descr.h
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ auto constexpr const_name() {
}

template <auto Size,
typename std::enable_if<std::is_same<decltype(Size), int>::value, int>::type = 0>
typename std::enable_if<!std::is_same<decltype(Size), bool>::value, int>::type = 0>
auto constexpr const_name() -> remove_cv_t<decltype(int_to_str<Size / 10, Size % 10>::digits)> {
return int_to_str<Size / 10, Size % 10>::digits;
}
Expand Down

0 comments on commit ce2b35f

Please sign in to comment.