Hi.
It looks like MAP was undocumented because it's not clear what its semantics are, and it might even behave differently depending on which inference algorithm is used to generate the posterior. This old issue is reporting something very similar to what you have encountered:
Also see:
In your case, it might be that `posteriorBeliefs` is a bag of samples, each of which has a log prob of 0, and `MAP` is doing argmax over that. If that's not it, I'd guess it's something similar.
Paul