#8555: Unexpected behaviour of symbolic zero.
-------------------------------------+-------------------------------------
Reporter: lfousse | Owner: burcin
Type: defect | Status: needs_work
Priority: major | Milestone:
Component: symbolics | Resolution:
Keywords: | Merged in:
Authors: André Apitzsch | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/aapitzsch/ticket/8555 | c79c0fb678fb6e7f27a966ce7fbadfae258aa3c0
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Changes (by vdelecroix):
* status: needs_review => needs_work
Comment:
Hello,
Peter: On the other hand, fast comparisons with `0` should be done within
`__nonzero__` and called via `bool(P)` or possibly `P.is_zero()` that
indirectly calls the former.
André: Could you check that `__nonzero__` is implemented and modify the
appropriate part of the code which uses `P == 0` or `P != 0`?
Vincent
--
Ticket URL: <http://trac.sagemath.org/ticket/8555#comment:4>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.