mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-09-13 18:03:13 +08:00
Fix bad merge in previous commit
This commit is contained in:
parent
e6c8d0b72d
commit
c5198249a9
@ -97,6 +97,18 @@ template<> struct is_arithmetic<unsigned int> { enum { value = true }; };
|
|||||||
template<> struct is_arithmetic<signed long> { enum { value = true }; };
|
template<> struct is_arithmetic<signed long> { enum { value = true }; };
|
||||||
template<> struct is_arithmetic<unsigned long> { enum { value = true }; };
|
template<> struct is_arithmetic<unsigned long> { enum { value = true }; };
|
||||||
|
|
||||||
|
template<typename T> struct is_integral { enum { value = false }; };
|
||||||
|
template<> struct is_integral<bool> { enum { value = true }; };
|
||||||
|
template<> struct is_integral<char> { enum { value = true }; };
|
||||||
|
template<> struct is_integral<signed char> { enum { value = true }; };
|
||||||
|
template<> struct is_integral<unsigned char> { enum { value = true }; };
|
||||||
|
template<> struct is_integral<signed short> { enum { value = true }; };
|
||||||
|
template<> struct is_integral<unsigned short> { enum { value = true }; };
|
||||||
|
template<> struct is_integral<signed int> { enum { value = true }; };
|
||||||
|
template<> struct is_integral<unsigned int> { enum { value = true }; };
|
||||||
|
template<> struct is_integral<signed long> { enum { value = true }; };
|
||||||
|
template<> struct is_integral<unsigned long> { enum { value = true }; };
|
||||||
|
|
||||||
#if EIGEN_HAS_CXX11
|
#if EIGEN_HAS_CXX11
|
||||||
using std::make_unsigned;
|
using std::make_unsigned;
|
||||||
#else
|
#else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user