2
0

rocrtst: fix rocrtst.Test_Example

VerifyResult always returns true. That's not expected.

Signed-off-by: Lang Yu <lang.yu@amd.com>
Este cometimento está contido em:
Lang Yu
2025-03-13 14:21:03 +08:00
cometido por Yu, Lang
ascendente 2ae70735e8
cometimento 89926f5b0b
+1 -1
Ver ficheiro
@@ -285,7 +285,7 @@ uint32_t TestExample::RealIterationNum(void) {
}
static bool VerifyResult(uint32_t *ar, size_t sz) {
for (size_t i = sz; i < sz; ++i) {
for (size_t i = 0; i < sz; ++i) {
if (i*i != ar[i]) {
return false;
}