Fix annoying warnings

This commit is contained in:
Charles Schlosser
2023-07-07 20:19:58 +00:00
parent 63dcb429cd
commit 1a2bfca8f0
18 changed files with 207 additions and 105 deletions

View File

@@ -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);
}
}