Whoops, this is better

This commit is contained in:
Robert Thompson committed 2020-01-28 17:53:23 -05:00
1 parent 19951768df
commit feeac39506
1 file changed
+1 -1
+1 -1
View File
@@ -644,7 +644,7 @@ extension BigInt {
(quot[j], r) = v.dividingFullWidth((r, uj))
}
if quot[1] > UInt(Int.max) {
if quot[u.count - 1] > UInt(Int.max) {
quot.append(0)
}