#5273: [with patch, needs review] change error message for integer matrices 
which
are too large
----------------------------+-----------------------------------------------
 Reporter:  jhpalmieri      |       Owner:  jhpalmieri            
     Type:  defect          |      Status:  new                   
 Priority:  trivial         |   Milestone:  sage-3.4.1            
Component:  linear algebra  |    Keywords:  32-bit, 64-bit, matrix
----------------------------+-----------------------------------------------
 On a 32-bit machine:
 {{{
 sage: matrix(ZZ, 100, 2^85)
 ---------------------------------------------------------------------------
 ValueError                                Traceback (most recent call
 last)
 ...
 ValueError: number of rows and columns must be less than 2^32 (on a 32-bit
 computer -- use a 64-bit computer for bigger matrices)
 }}}
 The attached patch makes this change: if the number of rows or columns is
 {{{2^64}}} or more, it just says the size is too big, it doesn't say
 anything about a 64-bit computer.  If the number of rows is between
 {{{2^32}}} and {{{2^64-1}}} and if the computer is 32-bit, then it gives
 the above error message.  (The message is also reworded a little bit.)

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5273>
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to