Opened 12 years ago

Closed 12 years ago

#6331 closed defect (duplicate)

optional doctest failure -- mathematica interface slight problems

Reported by: was Owned by: tbd
Priority: major Milestone: sage-duplicate/invalid/wontfix
Component: packages: optional Keywords:
Cc: Merged in:
Authors: Reviewers:
Report Upstream: Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description

sage -t -long --optional devel/sage/sage/interfaces/mathematica.py
**********************************************************************
File "/scratch/wstein/build/sage-4.0.2.alpha3/devel/sage-main/sage/interfaces/mathematica.py", line 181:
    sage: n.FactorInteger()                  # optional - mathematica
Expected:
    {{2, 2}, {3, 2}, {5, 3}, {541, 1}}       # optional - mathematica
Got:
    {{2, 2}, {3, 2}, {5, 3}, {541, 1}}
**********************************************************************
File "/scratch/wstein/build/sage-4.0.2.alpha3/devel/sage-main/sage/interfaces/mathematica.py", line 236:
    sage: math_bessel_K(2,I)                      # optional - mathematica
Expected:
    0.180489972066962*I - 2.592886175491197
Got:
    -2.592886175491196978 + 0.1804899720669620266*I
**********************************************************************
1 items had failures:
   2 of  62 in __main__.example_0
***Test Failed*** 2 failures.

Change History (4)

comment:1 Changed 12 years ago by was

  • Summary changed from optional doctest failure -- magma interface slight problems to optional doctest failure -- mathematica interface slight problems

comment:2 Changed 12 years ago by flawrence

Both these errors are addressed in #4948. The first error (an extra "# optional - mathematica") is fixed properly. The second error is probably due to 32/64 bit versions of mathematica, or maybe even just different versions of mathematica. The patch in #4948 adds -2.592886175491196978 + 0.1804899720669620266*I as a legitimate solution.

comment:3 Changed 12 years ago by flawrence

  • Summary changed from optional doctest failure -- mathematica interface slight problems to [needs review] optional doctest failure -- mathematica interface slight problems

I believe that this should be fixed in 4.1.2.alpha2 since #4948 was merged.

comment:4 Changed 12 years ago by mhansen

  • Milestone changed from sage-4.1.3 to sage-duplicate/invalid/wontfix
  • Resolution set to duplicate
  • Status changed from new to closed
  • Summary changed from [needs review] optional doctest failure -- mathematica interface slight problems to optional doctest failure -- mathematica interface slight problems

Seems good to me. Fixed by #4948.

Note: See TracTickets for help on using tickets.