aboutsummaryrefslogtreecommitdiff
path: root/test/encodetxb_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/encodetxb_test.cc')
-rw-r--r--test/encodetxb_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/encodetxb_test.cc b/test/encodetxb_test.cc
index ee09ea6af..c1b670986 100644
--- a/test/encodetxb_test.cc
+++ b/test/encodetxb_test.cc
@@ -229,7 +229,7 @@ void EncodeTxbInitLevelTest::RunTest(av1_txb_init_levels_func test_func,
ACMRandom rnd(ACMRandom::DeterministicSeed());
for (int i = 0; i < width * height; i++) {
- coeff[i] = rnd.Rand15Signed() + rnd.Rand15Signed();
+ coeff[i] = rnd.Rand16Signed();
}
for (int i = 0; i < TX_PAD_2D; i++) {
levels_buf[0][i] = rnd.Rand8();