Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
14 lines
554 B
Diff
14 lines
554 B
Diff
diff --git a/test/tests-tensor_types.cpp b/test/tests-tensor_types.cpp
|
|
index 39d1b30a..c507da81 100644
|
|
--- a/test/tests-tensor_types.cpp
|
|
+++ b/test/tests-tensor_types.cpp
|
|
@@ -45,7 +45,7 @@ TYPED_TEST_P(VectorTensorTest, types) {
|
|
ASSERT_EQ(t, a.getComponentType());
|
|
ASSERT_EQ(1, a.getOrder());
|
|
ASSERT_EQ(5, a.getDimension(0));
|
|
- map<vector<int>,TypeParam> vals = {{{0}, 1.0}, {{2}, 2.0}};
|
|
+ map<vector<int>,TypeParam> vals = {{{0}, (TypeParam)1.0}, {{2}, (TypeParam)2.0}};
|
|
for (auto& val : vals) {
|
|
a.insert(val.first, val.second);
|
|
}
|