Opened 12 years ago
Last modified 7 years ago
#8897 new defect
units.mass.pound to units.mass.drachma broken
Reported by: | schilly | Owned by: | burcin |
---|---|---|---|
Priority: | major | Milestone: | sage-6.4 |
Component: | symbolics | Keywords: | |
Cc: | Merged in: | ||
Authors: | Reviewers: | ||
Report Upstream: | N/A | Work issues: | |
Branch: | Commit: | ||
Dependencies: | Stopgaps: |
Description
sage: a = 170*units.mass.pound sage: a.convert(units.mass.drachma)
gives
TypeError: unable to convert x (=kilogram) to an integer
despite 1 drachma is 0.00429234 kilograms.
Change History (5)
comment:1 Changed 9 years ago by
comment:2 Changed 8 years ago by
- Milestone changed from sage-5.11 to sage-5.12
comment:3 Changed 8 years ago by
- Milestone changed from sage-6.1 to sage-6.2
comment:4 Changed 8 years ago by
- Milestone changed from sage-6.2 to sage-6.3
comment:5 Changed 7 years ago by
- Milestone changed from sage-6.3 to sage-6.4
Note: See
TracTickets for help on using
tickets.
Same is true for other units of mass or time, that contains tuples in unitdict:
all those result in same "unable to convert x to an integer", coming from: