nan checks not allowed.  I don't know why.