mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
committed by
Rasmus Munk Larsen
parent
b8dab89663
commit
ba9871e46b
@@ -173,6 +173,7 @@ add_custom_target(BuildOfficial)
|
|||||||
|
|
||||||
ei_add_test(clz)
|
ei_add_test(clz)
|
||||||
ei_add_test(rand)
|
ei_add_test(rand)
|
||||||
|
ei_add_test(realview)
|
||||||
ei_add_test(meta)
|
ei_add_test(meta)
|
||||||
ei_add_test(maxsizevector)
|
ei_add_test(maxsizevector)
|
||||||
ei_add_test(numext)
|
ei_add_test(numext)
|
||||||
|
|||||||
@@ -17,9 +17,9 @@ struct TestComplex : public std::complex<float> {
|
|||||||
TestComplex(float x) : std::complex<float>(x){};
|
TestComplex(float x) : std::complex<float>(x){};
|
||||||
};
|
};
|
||||||
template <>
|
template <>
|
||||||
struct NumTraits<TestComplex> : NumTraits<std::complex<float>> {};
|
struct Eigen::NumTraits<TestComplex> : Eigen::NumTraits<std::complex<float>> {};
|
||||||
template <>
|
template <>
|
||||||
struct internal::random_impl<TestComplex> : internal::random_impl<std::complex<float>> {};
|
struct Eigen::internal::random_impl<TestComplex> : Eigen::internal::random_impl<std::complex<float>> {};
|
||||||
|
|
||||||
template <typename T>
|
template <typename T>
|
||||||
void test_realview_readonly(const T&) {
|
void test_realview_readonly(const T&) {
|
||||||
|
|||||||
Reference in New Issue
Block a user