An error in solve for Piecewise.