Skip to content

Commit 91672f4

Browse files
committed
fix test for msvc
1 parent 4a74cb6 commit 91672f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/unittest/convolution_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ TEST(ConvolutionTest, ConvLLBound) {
335335
static constexpr unsigned long long M1M3 = MOD1 * MOD3;
336336
static constexpr unsigned long long M1M2 = MOD1 * MOD2;
337337
for (int i = -1000; i <= 1000; i++) {
338-
std::vector<ll> a = {(long long)(-M1M2 - M1M3 - M2M3 + i)};
338+
std::vector<ll> a = {(long long)(0ULL - M1M2 - M1M3 - M2M3 + i)};
339339
std::vector<ll> b = {1};
340340

341341
ASSERT_EQ(a, convolution_ll(a, b));

0 commit comments

Comments
 (0)