If all likelihoods are zero (log-likelihood is inf), the corresponding row becomes nan after posterior transformation. It should stay zero instead!
If all likelihoods are zero (log-likelihood is inf), the corresponding row becomes nan after posterior transformation. It should stay zero instead!