Opened 8 years ago

Closed 8 years ago

#17011 closed defect (fixed)

fix some old scipy-related weirdness in functions/special.py

Reported by: Dima Pasechnik Owned by:
Priority: minor Milestone: sage-6.4
Component: numerical Keywords:
Cc: Merged in:
Authors: Dima Pasechnik Reviewers: Volker Braun
Report Upstream: N/A Work issues:
Branch: b690e98 (Commits, GitHub, GitLab) Commit: b690e984e8c2fe2ed9ae7ff9b0165a1422416360
Dependencies: Stopgaps:

Status badges

Description (last modified by Dima Pasechnik)

In couple of places the conversion from scipy complex number to Sage is done via strings, which is probably some old relic going back to 2008 or so.

As well, the type of the returned number is default Sage's data, rather than C/RDF, as it should be, to avoid confusion about precision of these computations, cf e.g. http://ask.sagemath.org/question/24163/why-does-sage-offer-unusable-scipy

Change History (5)

comment:1 Changed 8 years ago by Dima Pasechnik

Branch: u/dimpase/fix_some_old_scipy_related_weirdness_in_function_py

comment:2 Changed 8 years ago by Dima Pasechnik

Commit: b690e984e8c2fe2ed9ae7ff9b0165a1422416360
Component: PLEASE CHANGEnumerical
Description: modified (diff)
Priority: majorminor
Summary: fix some old scipy-related weirdness in function.pyfix some old scipy-related weirdness in functions/special.py
Type: PLEASE CHANGEdefect

comment:3 Changed 8 years ago by Dima Pasechnik

Status: newneeds_review

comment:4 Changed 8 years ago by Volker Braun

Authors: Dima Pasechnik
Reviewers: Volker Braun
Status: needs_reviewpositive_review

lgtm

comment:5 Changed 8 years ago by Volker Braun

Branch: u/dimpase/fix_some_old_scipy_related_weirdness_in_function_pyb690e984e8c2fe2ed9ae7ff9b0165a1422416360
Resolution: fixed
Status: positive_reviewclosed
Note: See TracTickets for help on using tickets.