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:
Diffstat (limited to 'test/kernels/tanh_test.cc')
-rw-r--r--test/kernels/tanh_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/kernels/tanh_test.cc b/test/kernels/tanh_test.cc
index 7407a11..737ac9b 100644
--- a/test/kernels/tanh_test.cc
+++ b/test/kernels/tanh_test.cc
@@ -20,7 +20,7 @@ void kernel_tanh_test() {
std::generate(input.begin(), input.end(), [] () { static int n = -int(VECTOR_LENGTH / 2); return n++ / float(VECTOR_LENGTH / 2); });
*output.template as<vec_t>() = kernels::tanh(*input.template as<vec_t>());
- for (auto i = 0; i < output.size(); ++i)
+ for (std::size_t i = 0; i < output.size(); ++i)
CHECK_EPS(output[i], tanh(input[i]), 0.001f);
}