Opened 11 years ago

Closed 11 years ago

#7834 closed defect (fixed)

Implement conjugate() for RealDoubleElement

Reported by: dagss Owned by: AlexGhitza
Priority: major Milestone: sage-4.3.1
Component: basic arithmetic Keywords:
Cc: Merged in: sage-4.3.1.alpha0
Authors: Dag Sverre Seljebotn Reviewers: Alex Ghitza
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description

This appears inconsistent, and is an actual problem for me:

sage: ZZ(4).conjugate()
4
sage: RR(4).conjugate()
4.00000000000000
sage: RDF(4).conjugate()
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)

/uio/arkimedes/s07/dagss/.sage/temp/corcaroli.uio.no/12687/_uio_arkimedes_s07_dagss__sage_init_sage_0.py in <module>()

AttributeError: 'sage.rings.real_double.RealDoubleElement' object has no attribute 'conjugate'

Attachments (1)

RDF_conjugate.patch (880 bytes) - added by dagss 11 years ago.

Download all attachments as: .zip

Change History (4)

Changed 11 years ago by dagss

comment:1 Changed 11 years ago by dagss

  • Status changed from new to needs_review

comment:2 Changed 11 years ago by AlexGhitza

  • Reviewers set to Alex Ghitza
  • Status changed from needs_review to positive_review

Looks good to me.

comment:3 Changed 11 years ago by mhansen

  • Merged in set to sage-4.3.1.alpha0
  • Resolution set to fixed
  • Status changed from positive_review to closed
Note: See TracTickets for help on using tickets.