Skip to content

Commit 8dbace9

Browse files
authored
Update src/partitions.jl
1 parent c6266df commit 8dbace9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/partitions.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ Use `collect(partitions(s))` to get an array of all partitions.
259259
260260
The number of partitions of an `n`-element set
261261
is given by the n-th Bell number `Bn`:
262-
`length(partitions(s)) == catalannum(legnth(s))`.
262+
`length(partitions(s)) == bellnum(length(s))`.
263263
264264
See also: [`bellnum`](@ref)
265265

0 commit comments

Comments
 (0)