From 1d7720efe8407a3c6552e986efd89e87fb96084e Mon Sep 17 00:00:00 2001 From: FhqTreap <45459183+FhqTreap@users.noreply.github.com> Date: Fri, 22 Sep 2023 15:24:46 +0800 Subject: [PATCH] fix test conv1d (#5049) --- tests/test_convolution1d.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_convolution1d.cpp b/tests/test_convolution1d.cpp index c8dd55ffe..bea75da30 100644 --- a/tests/test_convolution1d.cpp +++ b/tests/test_convolution1d.cpp @@ -77,7 +77,7 @@ static int test_convolution1d_0() const int s = kdsp[i][2]; const int p = kdsp[i][3]; const int b0 = i % 2; - const int b1 = 1 - b1; + const int b1 = 1 - b0; int ret = 0 || test_convolution1d(9, 1, 1, k, d, s, p, b0)