Merge remote-tracking branch 'origin/develop' into hotfix/crash

This commit is contained in:
Shengliang Guan 2020-06-28 06:42:51 +00:00
commit 7b7a57b5fa
1 changed files with 4 additions and 1 deletions

View File

@ -547,7 +547,10 @@ int main(int argc, char *argv[]) {
threads = ntables;
a = 1;
}
int b = ntables % threads;
int b = 0;
if (threads != 0)
b = ntables % threads;
int last = 0;
for (int i = 0; i < threads; i++) {
info *t_info = infos + i;