Bug fix in the discrete PDF normalizing factor calculation from previous
commit.