BUG: fixes bug #4028

BUG #4028 regression test.
scipy.stats.geom.logpmf(1,1) will return 0.0.