Opened 3 years ago

Last modified 3 years ago

#24255 new defect

Fix substitution with pattern given as equation — at Initial Version

Reported by: rws Owned by:
Priority: major Milestone: sage-8.2
Component: symbolics Keywords:
Cc: Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges


There is a long-standing problem with substitution in that some substitutions do not work when given as equality but do work when given as dictionary.

sage: (x*pi).subs(x*pi==e)
sage: (x*pi).subs({x*pi:e})

It looks like that in some cases the conversion to dict switches lhs and rhs of the equation.

Change History (0)

Note: See TracTickets for help on using tickets.