Opened 11 years ago
Closed 11 years ago
#11870 closed defect (fixed)
Lazy fields do not support abs()
Reported by: | jdemeyer | Owned by: | burcin |
---|---|---|---|
Priority: | major | Milestone: | sage-4.7.2 |
Component: | calculus | Keywords: | |
Cc: | Merged in: | sage-4.7.2.alpha4 | |
Authors: | Jeroen Demeyer | Reviewers: | Burcin Erocal |
Report Upstream: | N/A | Work issues: | |
Branch: | Commit: | ||
Dependencies: | Stopgaps: |
Description
sage: RLF(1).abs() --------------------------------------------------------------------------- AttributeError Traceback (most recent call last) /usr/local/src/sage-4.7.2.alpha2/<ipython console> in <module>() /usr/local/src/sage-4.7.2.alpha2/local/lib/python2.6/site-packages/sage/structure/element.so in sage.structure.element.RingElement.abs (sage/structure/element.c:13785)() /usr/local/src/sage-4.7.2.alpha2/local/lib/python2.6/site-packages/sage/rings/real_lazy.so in sage.rings.real_lazy.LazyFieldElement.__getattribute__ (sage/rings/real_lazy.c:7550)() /usr/local/src/sage-4.7.2.alpha2/local/lib/python2.6/site-packages/sage/structure/element.so in sage.structure.element.Element.__getattr__ (sage/structure/element.c:2794)() /usr/local/src/sage-4.7.2.alpha2/local/lib/python2.6/site-packages/sage/structure/parent.so in sage.structure.parent.getattr_from_other_class (sage/structure/parent.c:2940)() /usr/local/src/sage-4.7.2.alpha2/local/lib/python2.6/site-packages/sage/structure/parent.so in sage.structure.parent.raise_attribute_error (sage/structure/parent.c:2709)() AttributeError: 'sage.rings.real_lazy.LazyWrapper' object has no attribute '__abs__'
Same for CLF.
Attachments (1)
Change History (5)
Changed 11 years ago by
comment:1 Changed 11 years ago by
- Status changed from new to needs_review
comment:2 Changed 11 years ago by
- Reviewers set to Burcin Erocal
- Status changed from needs_review to positive_review
comment:3 Changed 11 years ago by
Thanks!
comment:4 Changed 11 years ago by
- Merged in set to sage-4.7.2.alpha4
- Resolution set to fixed
- Status changed from positive_review to closed
Note: See
TracTickets for help on using
tickets.
Looks good to me.