#12050: matrix_integer_dense.LLL: parameters for algorithm NTL:LLL
------------------------------+---------------------------------------------
   Reporter:  dkrenn          |          Owner:  jason, was     
       Type:  defect          |         Status:  new            
   Priority:  major           |      Milestone:  sage-4.8       
  Component:  linear algebra  |       Keywords:  parameters, LLL
Work_issues:                  |       Upstream:  N/A            
   Reviewer:                  |         Author:                 
     Merged:                  |   Dependencies:                 
------------------------------+---------------------------------------------
 We have the following lines in matrix_integer_dense.pyx starting at line
 2678 (corrected already the wrong {{{algorithn}}}, see #12049):
 {{{
 #!python
         # FP choice
         if algorithm == 'NTL:LLL':
             if fp == None:
                 algorithm = 'NTL:LLL_FP'
             elif fp == 'fp':
                 algorithm = 'NTL:LLL_FP'
             elif fp == 'qd':
                 algorithm = 'NTL:LLL_QD'
             elif fp == 'xd':
                 algorithm = 'NTL:LLL_XD'
             elif fp == 'rr':
                 algorithm = 'NTL:LLL_RR'
         elif algorithm == 'fpLLL:heuristic':
         ...
 }}}
 Later it is checked the following
 {{{
 #!python
        if algorithm == "NTL:LLL":
 }}}
 This means, to get algorithm {{{'NTL:LLL'}}} one has to set
 {{{algorithm='NTL:LLL'}}} and {{{fp}}} neither {{{None}}} nor any of
 {{{'fp'}}}, {{{'qd'}}}, {{{'xd'}}}, {{{'rr'}}}. This is not intuitive at
 all and should not be.

 Would it be a suitable solution to keep {{{'NTL:LLL'}}} if {{{fp=None}}}?

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12050>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
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