We do not want to check unified_machine against a bool now that we return an integer.

This commit is contained in:
Daniel Lemire 2019-05-31 11:11:23 -04:00
parent ba8aa46cd0
commit 4e7e7d99cc
2 changed files with 2 additions and 2 deletions

View File

@ -167,7 +167,7 @@ int main(int argc, char *argv[]) {
unified.start();
#endif
isok = isok && !unified_machine(p.data(), p.size(), pj);
isok = isok && (simdjson::SUCCESS == unified_machine(p.data(), p.size(), pj));
#ifndef SQUASH_COUNTERS
unified.end(results);
cy2 += results[0];

View File

@ -187,7 +187,7 @@ int main(int argc, char *argv[]) {
cl1 += results[1];
unified.start();
isok = isok && unified_machine(p.data(), p.size(), pj);
isok = isok && (simdjson::SUCCESS == unified_machine(p.data(), p.size(), pj));
unified.end(results);
cy2 += results[0];