-
-
Couldn't load subscription status.
- Fork 680
Closed
Description
Not implemented at the moment
sage: f = piecewise([((0,1), x^2), ([-1,0], -x)], var=x);
sage: f.subs(x=-1)
1
sage: f.subs(x=y)
...
ValueError: substituting the piecewise variable must result in real number
Component: symbolics
Author: Ralf Stephan
Branch/Commit: u/rws/substitutions_inside_piecewise_functions_don_t_work @ 98cab8b
Issue created by migration from https://trac.sagemath.org/ticket/22102