#5804: Solaris 10/Sparc: number_of_partitions(100000) is broken
----------------------+-----------------------------------------------------
Reporter: mabshoff | Owner: mabshoff
Type: defect | Status: new
Priority: major | Milestone: sage-3.4.2
Component: solaris | Keywords:
----------------------+-----------------------------------------------------
{{{
sage -t "devel/sage/sage/combinat/partition.py"
**********************************************************************
File "/home/mabshoff/build-3.4.1.rc1/sage-3.4.1.rc1-mark-
gcc-4.3.3/devel/sage/sage/combinat/partition.py", line 3440:
sage: number_of_partitions(100000)
Expected:
27493510569775696512677516320986352688173429315980054758203125984
30214732811496417305505074166073662159015784477429624894049306307
02004617927644930335101160793424571901557189435097253124661084520
06369558934464248716828789832182345009262853831404597021307130674
51062441922731123899970228440860937093553162969785156956989219610
8480158600569421098519
Got:
27493510569775696512677516320986352688173429315980054758203125984
30214732811496417305505074166073662159015784477429624894049306307
02004617927644930335101160793424571901557189435097253124661084520
06369558934464248716828789832182345009262853831404597021307130674
51062441922731123899970228440860937093553162969785156956989219610
8480158600569425643053
**********************************************************************
File "/home/mabshoff/build-3.4.1.rc1/sage-3.4.1.rc1-mark-
gcc-4.3.3/devel/sage/sage/combinat/partition.py", line 3469:
sage: number_of_partitions( n - (n % 385) + 369) % 385 == 0
Expected:
True
Got:
False
**********************************************************************
File "/home/mabshoff/build-3.4.1.rc1/sage-3.4.1.rc1-mark-
gcc-4.3.3/devel/sage/sage/combinat/partition.py", line 3475:
sage: number_of_partitions( n - (n % 385) + 369) % 385 == 0
Expected:
True
Got:
False
**********************************************************************
File "/home/mabshoff/build-3.4.1.rc1/sage-3.4.1.rc1-mark-
gcc-4.3.3/devel/sage/sage/combinat/partition.py", line 3478:
sage: number_of_partitions( n - (n % 385) + 369) % 385 == 0
Expected:
True
Got:
False
**********************************************************************
File "/home/mabshoff/build-3.4.1.rc1/sage-3.4.1.rc1-mark-
gcc-4.3.3/devel/sage/sage/combinat/partition.py", line 3481:
sage: number_of_partitions( n - (n % 385) + 369) % 385 == 0
Expected:
True
Got:
False
**********************************************************************
File "/home/mabshoff/build-3.4.1.rc1/sage-3.4.1.rc1-mark-
gcc-4.3.3/devel/sage/sage/combinat/partition.py", line 3484:
sage: number_of_partitions( n - (n % 385) + 369) % 385 == 0
Expected:
True
Got:
False
**********************************************************************
File "/home/mabshoff/build-3.4.1.rc1/sage-3.4.1.rc1-mark-
gcc-4.3.3/devel/sage/sage/combinat/partition.py", line 3487:
sage: number_of_partitions( n - (n % 385) + 369) % 385 == 0
Expected:
True
Got:
False
**********************************************************************
File "/home/mabshoff/build-3.4.1.rc1/sage-3.4.1.rc1-mark-
gcc-4.3.3/devel/sage/sage/combinat/partition.py", line 3490:
sage: number_of_partitions( n - (n % 385) + 369) % 385 == 0
Expected:
True
Got:
False
**********************************************************************
File "/home/mabshoff/build-3.4.1.rc1/sage-3.4.1.rc1-mark-
gcc-4.3.3/devel/sage/sage/combinat/partition.py", line 3493:
sage: number_of_partitions( n - (n % 385) + 369) % 385 == 0
Expected:
True
Got:
False
**********************************************************************
File "/home/mabshoff/build-3.4.1.rc1/sage-3.4.1.rc1-mark-
gcc-4.3.3/devel/sage/sage/combinat/partition.py", line 3501:
sage: len([n for n in [1..500] if number_of_partitions(n) !=
number_of_partitions(n,algorithm='pari')])
Expected:
0
Got:
203
**********************************************************************
1 items had failures:
10 of 40 in __main__.example_119
***Test Failed*** 10 failures.
For whitespace errors, see the file
/home/mabshoff/build-3.4.1.rc1/sage-3.4.1.rc1-mark-
gcc-4.3.3/tmp/.doctest_partition.py
[68.3 s]
exit code: 1024
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5804>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---