Ah, the perennial question, pay of mortgage or invest...
What's your mortgage interest rate? If it is pretty low (< 4%?) than maybe you should just invest the inheritance.
It really depends on the interest rate, and just how hard having a paid off house will make you dance. I mean, if you are going to dance like nobody's business, maybe you should just pay off the mortgage, math aside.