Skip to content

Commit 00b72b3

Browse files
authored
[benchmark] Fix incorrect results check
1 parent 252af7d commit 00b72b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

benchmark/single-source/HashQuadratic.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public func run_HashQuadratic(_ N: Int) {
2727
dict2[k] = v
2828
}
2929

30-
CheckResults(dict2[size/2] == dict2[size/2],
30+
CheckResults(dict1[size/2] == dict2[size/2],
3131
"Incorrect results in HashQuadratic")
3232
}
3333
}

0 commit comments

Comments
 (0)