修复返回错误命中个数的BUG

This commit is contained in:
liuxueli
2020-11-24 19:13:20 +06:00
parent b549f40a5c
commit c18fe6e945

View File

@@ -273,7 +273,7 @@ int region_compile(_Maat_feather_t*feather, struct Maat_hierarchy_compile_mid* c
alignment_int64_array_add(feather->not_grp_hit_cnt, thread_num, 1);
}
return scan_ret;
return MIN(scan_ret, size);
}