#5400: conversion error
------------------------------------+---------------------------------------
Reporter: jason | Owner: robertwb
Type: defect | Status: new
Priority: major | Milestone: sage-4.3.1
Component: misc | Keywords:
Work_issues: Close/mark as fixed? | Author:
Upstream: N/A | Reviewer:
Merged: |
------------------------------------+---------------------------------------
Changes (by timdumol):
* cc: was (added)
* work_issues: => Close/mark as fixed?
* upstream: => N/A
Comment:
Right now it gives?:
{{{
sage: RDF(e^(1j))
[...]
/home/timdumol/sage-4.3.1.alpha0/local/lib/python2.6/site-
packages/sage/rings/complex_number.so in
sage.rings.complex_number.ComplexNumber.__float__
(sage/rings/complex_number.c:7209)()
TypeError: can't convert complex to float; use abs(z)
}}}
This seems to be the right error. Should this be closed?
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5400#comment:11>
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.