Skip to content

Commit

Permalink
Make access level for isZero the same for signed and unsigned types (#93
Browse files Browse the repository at this point in the history
)
  • Loading branch information
arkichek authored Sep 6, 2021
1 parent 114862b commit f54b09e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/BigUInt.swift
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ extension BigUInt {
/// Return true iff this integer is zero.
///
/// - Complexity: O(1)
var isZero: Bool {
public var isZero: Bool {
switch kind {
case .inline(0, 0): return true
case .array: return storage.isEmpty
Expand Down

0 comments on commit f54b09e

Please sign in to comment.