Skip to content

Commit b7ff8cf

Browse files
committed
Fixed some typos
1 parent 38db0d7 commit b7ff8cf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

benchmark/single-source/SortIntPyramids.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public let SortIntPyramid = [
2727
// maximum -||-: 1774
2828
// average -||-: 357
2929

30-
// pyramid hight
30+
// pyramid height
3131
let pH = 5000
3232
let pyramidTemplate: [Int] = (1...pH) + (1...pH).reversed()
3333

@@ -44,7 +44,7 @@ let pyramidTemplate: [Int] = (1...pH) + (1...pH).reversed()
4444
// maximum -||-: 120
4545
// average -||-: 36
4646

47-
// adjacent pyramids hight.
47+
// adjacent pyramids height.
4848
let aPH = pH / 2
4949
let adjacentPyramidsTemplate: [Int] = (1...aPH) + (1...aPH).reversed()
5050
+ (1...aPH) + (1...aPH).reversed()

0 commit comments

Comments
 (0)