Update piecewise.py

Corrected a typo.