Possible Issue with gamma_lccdf

Thanks. I think implementing our own log ccdf using Stan’s primitives is a good idea. It seems the same idea was useful for the cdf (here: Minimal censored Gamma with VERY bad performance). My guess is that we need a mycdf(.) that calls gamma_q(.).