mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-11 11:19:02 +08:00
Fix usages of wrong namespace
This commit is contained in:
parent
4451823fb4
commit
f2a3e03e9b
@ -52,11 +52,7 @@ namespace Eigen {
|
||||
// in std::vector::resize(size_t s,T x) won't be aligned and generate an error
|
||||
// even if this function is never called. Whence this little wrapper.
|
||||
#define EIGEN_WORKAROUND_MSVC_STL_SUPPORT(T) \
|
||||
Eigen::std::conditional_t< \
|
||||
Eigen::internal::is_arithmetic<T>::value, \
|
||||
T, \
|
||||
Eigen::internal::workaround_msvc_stl_support<T> \
|
||||
>
|
||||
std::conditional_t<Eigen::internal::is_arithmetic<T>::value, T, Eigen::internal::workaround_msvc_stl_support<T> >
|
||||
|
||||
namespace internal {
|
||||
template<typename T> struct workaround_msvc_stl_support : public T
|
||||
|
@ -321,7 +321,7 @@ struct BlockProperties {
|
||||
static EIGEN_CONSTEXPR bool packet_load = packet_load_;
|
||||
typedef typename Eigen::internal::unpacket_traits<PacketType>::type OutScalar;
|
||||
static EIGEN_CONSTEXPR bool is_rhs = is_rhs_;
|
||||
typedef Eigen::std::conditional_t<packet_load, PacketType, OutScalar> OutType;
|
||||
typedef std::conditional_t<packet_load, PacketType, OutScalar> OutType;
|
||||
static EIGEN_CONSTEXPR int elements_per_access = Eigen::internal::unpacket_traits<OutType>::size;
|
||||
static EIGEN_CONSTEXPR bool is_coalesced_layout = !(is_transposed ^ is_rhs);
|
||||
static EIGEN_CONSTEXPR int nc_stride = (is_coalesced_layout ? elements_per_access : 1);
|
||||
|
Loading…
x
Reference in New Issue
Block a user