Skip to content

Commit 4e7e7d9

Browse files
committed
We do not want to check unified_machine against a bool now that we return an integer.
1 parent ba8aa46 commit 4e7e7d9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

benchmark/parse.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ int main(int argc, char *argv[]) {
167167
unified.start();
168168
#endif
169169

170-
isok = isok && !unified_machine(p.data(), p.size(), pj);
170+
isok = isok && (simdjson::SUCCESS == unified_machine(p.data(), p.size(), pj));
171171
#ifndef SQUASH_COUNTERS
172172
unified.end(results);
173173
cy2 += results[0];

benchmark/statisticalmodel.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ int main(int argc, char *argv[]) {
187187
cl1 += results[1];
188188

189189
unified.start();
190-
isok = isok && unified_machine(p.data(), p.size(), pj);
190+
isok = isok && (simdjson::SUCCESS == unified_machine(p.data(), p.size(), pj));
191191
unified.end(results);
192192

193193
cy2 += results[0];

0 commit comments

Comments
 (0)