Handle rare case where gamma sample is infinitely large.