From 378ec0de4bee98ce9e27a3ae430f0d3ef4e6bd15 Mon Sep 17 00:00:00 2001 From: Schrodinger ZHU Yifan Date: Wed, 16 Mar 2022 18:36:16 +0800 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Fu Zhe --- dbms/src/Functions/tests/gtest_strings_simd_consistency.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dbms/src/Functions/tests/gtest_strings_simd_consistency.cpp b/dbms/src/Functions/tests/gtest_strings_simd_consistency.cpp index aaa3c8ac0ae..92fc79eaad2 100644 --- a/dbms/src/Functions/tests/gtest_strings_simd_consistency.cpp +++ b/dbms/src/Functions/tests/gtest_strings_simd_consistency.cpp @@ -297,8 +297,8 @@ TEST(StringsLowerUpperAscii, Random) auto seed = device(); std::cout << "seeded with: " << seed << std::endl; std::vector data(limit + 1); - std::vector res_new(limit + 1); - std::vector res_old(limit + 1); + std::vector res_new(limit + 1, 0); + std::vector res_old(limit + 1, 0); std::default_random_engine eng(seed); std::uniform_int_distribution dist( 'A',