#8897: units.mass.pound to units.mass.drachma broken
-----------------------------+----------------------------------------------
Reporter: schilly | Owner: burcin
Type: defect | Status: new
Priority: major | Milestone: sage-5.3
Component: symbolics | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers:
Authors: | Merged in:
Dependencies: | Stopgaps:
-----------------------------+----------------------------------------------
Comment (by aginiewicz):
Same is true for other units of mass or time, that contains tuples in
unitdict:
{{{
sage: sage.symbolic.units.unitdict['mass']['obol']
"(0.000715380000000000,{'greek':1/6})"
sage: sage.symbolic.units.unitdict['mass']['drachma']
"(0.00429234000000000, {'greek':1})"
sage: sage.symbolic.units.unitdict['mass']['mina']
"(0.429234000000000, {'greek':100})"
sage: sage.symbolic.units.unitdict['mass']['talent']
"(25.7540400000000, {'greek':6000})"
sage: sage.symbolic.units.unitdict['time']['sidereal_second']
"(0.997269566329086, {'sidereal':1})"
sage: sage.symbolic.units.unitdict['time']['sidereal_day']
"(86164.0905308330, {'sidereal':86400})"
}}}
all those result in same "unable to convert x to an integer", coming from:
{{{
sage: sage.symbolic.units.base_units(units.time.sidereal_second)
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8897#comment:1>
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.