Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/marian-nmt/intgemm/intgemm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth Heafield <github@kheafield.com>2020-08-11 02:21:14 +0300
committerKenneth Heafield <github@kheafield.com>2020-08-11 02:21:14 +0300
commitfa2d58d68eaa041b7f41e1f56bc65983ad9ec54d (patch)
treeac2c09f05d41bcbff5fc2572f0b90231a6300ed2
parent6d30eb00ef64ad225926eaaa766550201236ac44 (diff)
More MSVC type conversion
-rw-r--r--test/kernels/write_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/kernels/write_test.cc b/test/kernels/write_test.cc
index f2e3d35..aa02c70 100644
--- a/test/kernels/write_test.cc
+++ b/test/kernels/write_test.cc
@@ -17,7 +17,7 @@ void kernel_write_test() {
AlignedVector<ElemType_> input(VECTOR_LENGTH);
AlignedVector<ElemType_> output(VECTOR_LENGTH);
- std::iota(input.begin(), input.end(), 0);
+ std::iota(input.begin(), input.end(), static_cast<ElemType_>(0));
kernels::write(*input.template as<vec_t>(), output.begin(), 0);
for (std::size_t i = 0; i < VECTOR_LENGTH; ++i)