#9582: Term order discrepancy in random test on OS X
-----------------------+----------------------------------------------------
   Reporter:  mpatel   |       Owner:  mvngu     
       Type:  defect   |      Status:  new       
   Priority:  blocker  |   Milestone:  sage-4.5.2
  Component:  doctest  |    Keywords:            
     Author:           |    Upstream:  N/A       
   Reviewer:           |      Merged:            
Work_issues:           |  
-----------------------+----------------------------------------------------
 Reported by John Palmieri on [http://groups.google.com/group/sage-
 release/browse_thread/thread/cc0b1929f66e0658/8c77081af31fc7ef#8c77081af31fc7ef
 sage-release]:
 {{{
 a 64 bit Mac OS X 10.6.4 box: one failure:

 sage -t -long "devel/sage/sage/symbolic/random_tests.py"
 **********************************************************************
 File "/Applications/sage_builds/sage-4.5.2.alpha0/devel/sage/sage/
 symbolic/random_tests.py", line 236:
     sage: random_expr(50, nvars=3, coeff_generator=CDF.random_element)
 Expected:
     factorial(floor((-0.314177274493 + 0.144437996366*I)/cosh(-v1^2*e/
 v3) + cos((-0.708874026302 - 0.954135400334*I)*v3) -
 zetaderiv(-0.228070288671 + 0.33842966472*I, 0.520184609653 -
 0.734276246499*I)))^(-arccoth(-abs(((-0.804514286089 -
 0.0293247734576*I)*v1 + (-0.804514286089 - 0.0293247734576*I)*v3 -
 1.0)*elliptic_ec((-0.0263902659909 +
 0.153261789843*I)*arccot(pi*catalan)))))
 Got:
     factorial(floor((-0.314177274493 + 0.144437996366*I)/cosh(-v1^2*e/
 v3) - zetaderiv(-0.228070288671 + 0.33842966472*I, 0.520184609653 -
 0.734276246499*I) + cos((-0.708874026302 - 0.954135400334*I)*v3)))^(-
 arccoth(-abs(((-0.804514286089 - 0.0293247734576*I)*v1 +
 (-0.804514286089 - 0.0293247734576*I)*v3 -
 1.0)*elliptic_ec((-0.0263902659909 +
 0.153261789843*I)*arccot(pi*catalan)))))
 **********************************************************************

 Looks like a discrepancy in the order terms are printed.
 }}}

 Acccording to Dan Drake:
 {{{
 I'm seeing that on bsd.math too. This is related to #9514, which was
 supposed to fix this, but evidently doesn't, on OS X at least.
 }}}

 Related: #9514.

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