Skip to content

Commit

Permalink
Trac #20784: not all symbolic equations stay unevaluated
Browse files Browse the repository at this point in the history
{{{
sage: limit(1/x, x=0) == unsigned_infinity
True
sage: SR(unsigned_infinity) == unsigned_infinity
True
}}}

URL: https://trac.sagemath.org/20784
Reported by: rws
Ticket author(s): Dave Morris
Reviewer(s): Markus Wageringel
  • Loading branch information
Release Manager committed Mar 8, 2021
2 parents 44d322a + 6b95486 commit d32f41e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/sage/symbolic/expression.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,13 @@ Test if :trac:`24883` is fixed::
sage: a*b
1/4*((I + 1)*sqrt(2) - 2)*(-(I + 1)*sqrt(2) - 2)
Test that :trac:`20784` is fixed (equations should stay unevaluated)::
sage: limit(1/x, x=0) == unsigned_infinity
Infinity == Infinity
sage: SR(unsigned_infinity) == unsigned_infinity
Infinity == Infinity
Many tests about comparison.
Use :func:`sage.symbolic.comparison.mixed_order`` instead of
Expand Down

0 comments on commit d32f41e

Please sign in to comment.