Here are two definitions from a lecture slides file from the internet:

It looks strange that the first uses x-u and the second uses x-u+1. Are they both correct? I am confused.
Link to file: http://www.inf.ed.ac.uk/teaching/courses/cfcs1/lectures/cfcs_l15.pdf