-
-
Notifications
You must be signed in to change notification settings - Fork 663
Open
Description
The following comes very unexpected
sage: ((1+x^2)/x^2).subs({x^2: 42})
43/x^2
The problem is the internal representation as
sage: ((1+x^2)/x^2).operands()
[x^2 + 1, x^(-2)]
Reported upstream as pynac/pynac#186
Depends on #22102
Component: symbolics
Author: Ralf Stephan
Branch/Commit: u/rws/substitution_in_denominator_is_skipped @ 5e39b7b
Issue created by migration from https://trac.sagemath.org/ticket/21071