Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
real_ball: one more instance of [non]zero -> True/False
Browse files Browse the repository at this point in the history
  • Loading branch information
mezzarobba committed Nov 13, 2015
1 parent dfccd23 commit 73a928a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sage/rings/real_arb.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -2152,10 +2152,10 @@ cdef class RealBall(RingElement):
Return ``True`` *iff* the given number (or ball) ``other`` is contained
in the interval represented by ``self``.
If ``self`` contains NaN, this function always returns nonzero (as
If ``self`` contains NaN, this function always returns ``True`` (as
it could represent anything, and in particular could represent all the
points included in ``other``). If ``other`` contains NaN and ``self``
does not, it always returns zero.
does not, it always returns ``False``.
Use ``other in self`` for a test that works for a wider range of inputs
but may return false negatives.
Expand Down

0 comments on commit 73a928a

Please sign in to comment.