mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Fix annoying warnings
This commit is contained in:
@@ -30,7 +30,7 @@ static void test_type_cast() {
|
||||
|
||||
for (int i = 0; i < 101; ++i) {
|
||||
for (int j = 0; j < 201; ++j) {
|
||||
const ToType ref = static_cast<ToType>(ftensor(i, j));
|
||||
const ToType ref = internal::cast<FromType, ToType>(ftensor(i, j));
|
||||
VERIFY_IS_EQUAL(ttensor(i, j), ref);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user