#10195: Occasional doctest failure in libs/fplll/fplll.pyx
-----------------------+----------------------------------------------------
   Reporter:  mpatel   |       Owner:  mvngu     
       Type:  defect   |      Status:  new       
   Priority:  major    |   Milestone:  sage-4.6.1
  Component:  doctest  |    Keywords:            
     Author:           |    Upstream:  N/A       
   Reviewer:           |      Merged:            
Work_issues:           |  
-----------------------+----------------------------------------------------

Comment(by leif):

 Dave, what happens if you run the following?
 {{{
 #!python
 from sage.libs.fplll.fplll import gen_ajtai

 runs=1000000
 verbose=1
 failed=[]

 for i in xrange(1,runs):
     A = gen_ajtai(10, 0.7)
     L = A.LLL()
     # L.is_LLL_reduced()
     # True
     if not (L.echelon_form() == A.echelon_form()):
         failed += [ i ]
         print "Test #%d failed:" % i
         if verbose:
             print "A:\n", A
             print "L:\n", L
             if verbose>1:
                 print "A.echelon_form()\n", A.echelon_form()
                 print "L.echelon_form()\n", L.echelon_form()

 print "%d out of %d tests failed:\n" % (len(failed), runs)
 print failed
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10195#comment:10>
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