mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
remove long long, long double, unsigned, short, char, bool types.
Keep only int, float, double, complex<T>.
This commit is contained in:
@@ -53,10 +53,8 @@ template<typename T> static void basics2()
|
||||
2,5,8,
|
||||
3,6,9;
|
||||
|
||||
// all elements of v1 should increase
|
||||
assert(v1(0) == T(1) && v1(1) == T(2) && v1(2) == T(3));
|
||||
|
||||
// all elements of m1 should increase column-wise
|
||||
assert(m1(0,0) == T(1) && m1(0,1) == T(4) && m1(0,2) == T(7) &&
|
||||
m1(1,0) == T(2) && m1(1,1) == T(5) && m1(1,2) == T(8) &&
|
||||
m1(2,0) == T(3) && m1(2,1) == T(6) && m1(2,2) == T(9));
|
||||
|
||||
Reference in New Issue
Block a user