-
-
Notifications
You must be signed in to change notification settings - Fork 701
Closed
Description
Hello,
number of partitions is broken on Solaris/Sparc:
sage -t devel/sage-main/sage/combinat/combinat.py **********************************************************************
File "combinat.py", line 1869:
sage: number_of_partitions(100000)
Expected:
274935105697756965126775163209863526881734293159800547582031259843021473281149641730550507416607366215901578447742962489
4049306307020046179276449303351011607934245719015571894350972531246610845200636955893446424871682878983218234500926285383140
4597021307130674510624419227311238999702284408609370935531629697851569569892196108480158600569421098519
Got:
274935105697756965126775163209863526881734293159800547582031259843021473281149641730550507416607366215901578447742962489
4049306307020046179276449303351011607934245719015571894350972531246610845200636955893446424871682878983218234500926285383140
4597021307130674510624419227311238999702284408609370935531629697851569569892196108480158600582558780007
**********************************************************************
File "combinat.py", line 1896:
but also more worringly the "small" case:
**********************************************************************
File "combinat.py", line 1924:
sage: len([n for n in [1..500] if number_of_partitions(n) != number_of_partitions(n,algorithm='pari')])
Expected:
0
Got:
245
**********************************************************************
Cheers,
Michael
CC: @sagetrac-sage-combinat
Component: combinatorics
Issue created by migration from https://trac.sagemath.org/ticket/1339