JuliaStats/Distributions.jl — pull request #268 by LaurenceA (2014-07-27 16:53:44+00:00)
Title: Only use mixture components with nonzero probability to compute moments.

This is very useful in cases where a mixture component has moments that are NaN or Inf e.g. `Truncated(Normal(), 10, Inf)`. Previously, a mixture with such a zero-probability component would also have moments that were NaN or Inf.