Changes between Version 1 and Version 2 of Ticket #21071, comment 13
- Timestamp:
- Dec 28, 2016, 7:01:35 AM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #21071, comment 13
v1 v2 1 1 There is an ambiguity. What is the expected result of 2 2 {{{ 3 sage: f = piecewise([(( -2, 0), -x), ([0, 2], x)], var=x)3 sage: f = piecewise([((0,2), x), ([-2,0], -x)] 4 4 sage: (x+f).subs(x==1) 5 5 6 piecewise(x|--> -1 on (0, 1), x|-->1 on [-1, 0]; x) + 16 piecewise(x|-->1 on (0, 2), x|-->-1 on [-2, 0]; x) + 1 7 7 or 8 8 2?