Skip to content

Commit f8688d2

Browse files
authored
Update DoubleWidth.swift.gyb
1 parent 3916380 commit f8688d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stdlib/public/core/DoubleWidth.swift.gyb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,9 +176,9 @@ public struct DoubleWidth<Base : FixedWidthInteger> :
176176
}
177177

178178
// TODO: move to Int128 just like init(_builtinIntegerLiteral:) ?
179-
return (n < _storage.low.countRepresentedWords) ?
179+
return (n < _storage.low._countRepresentedWords) ?
180180
_storage.low._word(at: n) :
181-
_storage.high._word(at: n - _storage.low.countRepresentedWords)
181+
_storage.high._word(at: n - _storage.low._countRepresentedWords)
182182
}
183183
}
184184

0 commit comments

Comments
 (0)