#17140: Remove usage of deprecated scipy.linalg.expm2 and expm3
-------------------------------------+-------------------------------------
       Reporter:  aapitzsch          |        Owner:
           Type:  enhancement        |       Status:  needs_work
       Priority:  major              |    Milestone:  sage-6.4
      Component:  linear algebra     |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  André Apitzsch     |    Reviewers:  Jeroen Demeyer
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/aapitzsch/ticket/17140           |  a7eed6479acb93a26077e0e57094e2ca104318f1
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by aapitzsch):

 Replying to [comment:5 jdemeyer]:
 > {{{
 > sage -t src/sage/matrix/matrix_double_dense.pyx
 > **********************************************************************
 > File "src/sage/matrix/matrix_double_dense.pyx", line 3833, in
 sage.matrix.matrix_double_dense.Matrix_double_dense.exp
 > Failed example:
 >     A.exp(algorithm='eig')
 > Expected:
 >     doctest:...: DeprecationWarning: The algorithm and order arguments
 are deprecated.
 >     See http://trac.sagemath.org/17140 for details.
 >     [51.968956198705044  74.73656456700327]
 >     [112.10484685050491 164.07380304920997]
 > Got:
 >     doctest:851: DeprecationWarning: The algorithm and order arguments
 are deprecated.
 >     See http://trac.sagemath.org/17140 for details.
 >     [ 51.96895619870504  74.73656456700327]
 >     [112.10484685050491 164.07380304920997]
 > **********************************************************************
 > }}}

 I can't reproduce this error. But when I add {{{# tol 1e-15}}} I get
 {{{
 sage -t --long --warn-long 39.1 src/sage/matrix/matrix_double_dense.pyx
 **********************************************************************
 File "src/sage/matrix/matrix_double_dense.pyx", line 3833, in
 sage.matrix.matrix_double_dense.Matrix_double_dense.exp
 Failed example:
     A.exp(algorithm='eig')  # tol 1e-15
 Expected:
     doctest:...: DeprecationWarning: The algorithm and order arguments are
 deprecated.
     See http://trac.sagemath.org/17140 for details.
     [51.968956198705044  74.73656456700327]
     [112.10484685050491 164.07380304920997]
 Got:
     doctest:851: DeprecationWarning: The algorithm and order arguments are
 deprecated.
     See http://trac.sagemath.org/17140 for details.
     [51.968956198705044  74.73656456700327]
     [112.10484685050491 164.07380304920997]
 **********************************************************************
 }}}
 I don't see any difference between ''Expected'' and ''Got''.
 Except for {{{...}}} and {{{851}}} which should be fine.

--
Ticket URL: <http://trac.sagemath.org/ticket/17140#comment:6>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to