Opened 10 years ago

Closed 10 years ago

#12665 closed defect (fixed)

Coercion problem with QQbar

Reported by: davidloeffler Owned by: AlexGhitza
Priority: major Milestone: sage-5.0
Component: algebra Keywords:
Cc: Merged in: sage-5.0.beta11
Authors: Mike Hansen Reviewers: David Loeffler
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges


I spotted this while working on #12662:

QQbar(sqrt(2)) + QQbar(zeta(7))

will return a massive traceback concluding in

RuntimeError: maximum recursion depth exceeded while calling a Python object

Attachments (1)

trac_12665.patch (1.3 KB) - added by mhansen 10 years ago.

Download all attachments as: .zip

Change History (5)

Changed 10 years ago by mhansen

comment:1 Changed 10 years ago by mhansen

  • Authors set to Mike Hansen
  • Status changed from new to needs_review

comment:2 Changed 10 years ago by davidloeffler

  • Reviewers set to David Loeffler
  • Status changed from needs_review to positive_review

Looks good and fixes the problem. Positive review.

comment:3 Changed 10 years ago by davidloeffler

For the record, while reviewing this patch I noticed that QQbar.zeta(6) also fails, in a completely different way! See followup ticket #12746.

comment:4 Changed 10 years ago by jdemeyer

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