Closed HBelusca closed 5 years ago
The default case of the Switch[] call now returns the actual expression with which it has been called, instead of returning the original "expr". This makes FixedPoint[] correctly stop instead of possibly looping forever.
A test case:
ExpandAll2[-2 a + 2 b + 2 (a - b)]
The default case of the Switch[] call now returns the actual expression with which it has been called, instead of returning the original "expr". This makes FixedPoint[] correctly stop instead of possibly looping forever.
A test case:
ExpandAll2[-2 a + 2 b + 2 (a - b)]