#7557: conversion of complex numbers in symbolic expressions to maxima broken
---------------------------------+------------------------------------------
       Reporter:  burcin         |         Owner:  burcin         
           Type:  defect         |        Status:  positive_review
       Priority:  major          |     Milestone:  sage-5.6       
      Component:  symbolics      |    Resolution:                 
       Keywords:  interfaces     |   Work issues:                 
Report Upstream:  N/A            |     Reviewers:  Volker Braun   
        Authors:  Burcin Erocal  |     Merged in:                 
   Dependencies:                 |      Stopgaps:                 
---------------------------------+------------------------------------------

Comment (by pipedream):

 Am I testing this correctly? I don't see any change:

 {{{
 0 jan@osprey:~/sage/sage-5.4/devel$hg qpush
 applying trac_7557-maxima_complex_number_conversion.patch
 now at: trac_7557-maxima_complex_number_conversion.patch
 0 jan@osprey:~/sage/sage-5.4/devel$hg qapplied
 trac_7557-maxima_complex_number_conversion.patch
 0 jan@osprey:~/sage/sage-5.4/devel$mysage -b complexbug

 ----------------------------------------------------------
 sage: Building and installing modified Sage library files.


 Installing c_lib
 scons: `install' is up to date.
 Updating Cython code....
 Executing 0 commands (using 1 thread)
 Time to execute 0 commands: 0.0179660320282 seconds
 Finished compiling Cython code (time = 0.490197181702 seconds)
 running install
 running build
 running build_py
 running build_ext
 Executing 0 commands (using 1 thread)
 Time to execute 0 commands: 0.00303983688354 seconds
 Total time spent compiling C/C++ extensions:  0.0404081344604 seconds.
 running install_lib
 running install_egg_info
 Removing /home/jan/sage/sage-5.4/local/lib/python2.7/site-
 packages/sage-0.0.0-py2.7.egg-info
 Writing /home/jan/sage/sage-5.4/local/lib/python2.7/site-
 packages/sage-0.0.0-py2.7.egg-info

 real    0m1.531s
 user    0m1.112s
 sys     0m0.240s
 0 jan@osprey:~/sage/sage-5.4/devel$mysage
 ----------------------------------------------------------------------
 | Sage Version 5.4, Release Date: 2012-11-09                         |
 | Type "notebook()" for the browser-based notebook interface.        |
 | Type "help()" for help.                                            |
 ----------------------------------------------------------------------
 ^[[ALoading Sage library. Current Mercurial branch is: complexbug
 sage: u=1.2; m=0.5; jacobi('sn',u,m)
 0.887715488619
 sage: jacobi('sn',u+2*I*elliptic_kc(1-m),m)
 jacobi_sn(1.2 + 3.7081493546*I, 0.500000000000000)
 sage: n(jacobi('sn',u+2*I*elliptic_kc(1-m),m))

 }}}

 (Hangs, I interrupted it after 30 seconds. Running this calculation
 directly in maxima takes one second)

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