Skip to content

Commit 0e567f7

Browse files
authored
Update cardinality.jl
1 parent 7b084a9 commit 0e567f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cardinality.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ max(ℵ::InfiniteCardinal, ::Infinity) = ℵ
132132
*(::InfiniteCardinal{N}, ::Infinity) where N = InfiniteCardinal{N}()
133133
*(::Infinity, ::InfiniteCardinal{N}) where N = InfiniteCardinal{N}()
134134
function *(a::Integer, b::InfiniteCardinal)
135-
a > 0 || throw(ArgumentError("$a is negative"))
135+
a > 0 || throw(ArgumentError("$a is non-positive"))
136136
b
137137
end
138138

0 commit comments

Comments
 (0)