Fix usages of wrong namespace

This commit is contained in:
Romain Biessy
2022-03-21 15:07:53 +00:00
committed by Antonio Sánchez
parent 4451823fb4
commit f2a3e03e9b
2 changed files with 2 additions and 6 deletions

View File

@@ -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