Opened 6 years ago

Closed 6 years ago

#17105 closed defect (fixed)

Implement ComplexIntervalFieldElement.__nonzero__

Reported by: cheuberg Owned by:
Priority: major Milestone: sage-6.4
Component: numerical Keywords: complex interval, CIF
Cc: dkrenn, skropf Merged in:
Authors: Clemens Heuberger Reviewers: Jeroen Demeyer
Report Upstream: N/A Work issues:
Branch: 659240e (Commits) Commit: 659240ee11fb81df6f1f377ad0b71aca7b698662
Dependencies: Stopgaps:

Description

In contrast to RealIntervalFieldElement, ComplexIntervalFieldElement did not implement __nonzero___.

RealIntervalFieldElement.__nonzero__ returns True if it is not known to be exactly zero.

This patch implements the same for ComplexIntervalFieldElement.

Change History (3)

comment:1 Changed 6 years ago by cheuberg

  • Status changed from new to needs_review

comment:2 Changed 6 years ago by jdemeyer

  • Reviewers set to Jeroen Demeyer
  • Status changed from needs_review to positive_review

comment:3 Changed 6 years ago by vbraun

  • Branch changed from u/cheuberg/rings/CIF-nonzero to 659240ee11fb81df6f1f377ad0b71aca7b698662
  • Resolution set to fixed
  • Status changed from positive_review to closed
Note: See TracTickets for help on using tickets.