#9594: Spring layout for graphs is currently random across platforms: mark the
doctest accordingly
----------------------------+-----------------------------------------------
   Reporter:  leif          |       Owner:  jason, ncohen, rlm
       Type:  defect        |      Status:  new               
   Priority:  blocker       |   Milestone:  sage-4.5.2        
  Component:  graph theory  |    Keywords:                    
     Author:                |    Upstream:  N/A               
   Reviewer:                |      Merged:                    
Work_issues:                |  
----------------------------+-----------------------------------------------
 On 32-bit systems, we get the following doctest error in Sage
 4.5.2.alpha0:
 {{{
 #!sh
 $ ./sage -t devel/sage/sage/graphs/generic_graph.py
 ...
     sage: G.get_pos()
 Expected:
     {0: [1.17..., -0.855...],
      1: [1.81..., -0.0990...],
      2: [1.35..., 0.184...],
      3: [1.51..., 0.644...],
      4: [2.00..., -0.507...],
      5: [0.597..., -0.236...],
      6: [2.04..., 0.687...],
      7: [1.46..., -0.473...],
      8: [0.902..., 0.773...],
      9: [2.48..., -0.119...]}
 Got:
     {0: [1.1644236010005358, -0.83686858657215979], 1:
 [1.7943839700815074, -0.066920666682206337], 2: [1.2689961125613971,
 0.14359096356381118], 3: [1.511860539628787, 0.59162048325984706], 4:
 [1.9941403734258905, -0.53845815492480542], 5: [0.59110867097474395,
 -0.2204272806589378], 6: [2.0144421480067041, 0.70158250822163282], 7:
 [1.4603696336476519, -0.46717593533332896], 8: [0.90427280509063312,
 0.79073173670301911], 9: [2.4603584159299983, -0.097675067576871527]}
 ...
 }}}

 (See #9593 for making spring layout reproducible.)

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