We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
integer_partitions(0) returns the empty list, while there is a partition of 0, namely Int[].
integer_partitions(0)
Int[]
The error is in src/partitions.c:459, which should return Vector{Int}[[]] or [Int[]].
Vector{Int}[[]]
[Int[]]
There is also a problem with partitions(0):
partitions(0)
julia> partitions(0) Combinatorics.IntegerPartitions(0) julia> collect(ans) 1-element Vector{Vector{Int64}}: #undef julia> integer_partitions(0) Vector{Int64}[]
The text was updated successfully, but these errors were encountered:
No branches or pull requests
integer_partitions(0)
returns the empty list, while there is a partition of 0, namelyInt[]
.The error is in src/partitions.c:459, which should return
Vector{Int}[[]]
or[Int[]]
.There is also a problem with
partitions(0)
:The text was updated successfully, but these errors were encountered: