We do not want to check unified_machine against a bool now that we return an integer.
This commit is contained in:
parent
ba8aa46cd0
commit
4e7e7d99cc
|
@ -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];
|
||||
|
|
|
@ -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];
|
||||
|
|
Loading…
Reference in New Issue