From 83ed0fa4e64657d17c5ef46f21a25e2a79222a70 Mon Sep 17 00:00:00 2001 From: groot Date: Tue, 30 Apr 2019 15:03:06 +0800 Subject: [PATCH] fix typo Former-commit-id: 5eb1054016ec8fe6dbf173f1e32c0d37330cd87f --- cpp/test_client/src/ClientTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/test_client/src/ClientTest.cpp b/cpp/test_client/src/ClientTest.cpp index dea3bb8155..9a7a3b6305 100644 --- a/cpp/test_client/src/ClientTest.cpp +++ b/cpp/test_client/src/ClientTest.cpp @@ -76,7 +76,7 @@ namespace { int64_t count = to - from; server::TimeRecorder rc(std::to_string(count) + " vectors built"); - for (int64_t k = from; k < count; k++) { + for (int64_t k = from; k < to; k++) { VecTensor tensor; tensor.tensor.reserve(VEC_DIMENSION); VecBinaryTensor bin_tensor;