diff options
Diffstat (limited to 'src/algebra/sgcf.spad.pamphlet')
-rw-r--r-- | src/algebra/sgcf.spad.pamphlet | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/algebra/sgcf.spad.pamphlet b/src/algebra/sgcf.spad.pamphlet index fda88648..c6eb2ffd 100644 --- a/src/algebra/sgcf.spad.pamphlet +++ b/src/algebra/sgcf.spad.pamphlet @@ -186,7 +186,7 @@ SymmetricGroupCombinatoricFunctions(): public == private where numberOfImproperPartitionsInternal(n,m,cm) == n = 0 => binomial(m,cm)$ICF - cm = 0 and n > 0 => 0 + cm = 0 and positive? n => 0 s := 0 for i in 0..n-1 repeat s := s + numberOfImproperPartitionsInternal(i,m,cm-1) |