JuliaLang/julia — pull request #1031 by dreiss-isb (2012-07-10 18:36:42+00:00)
Title: Update base/distributions.jl - Categorical: Either don't normalize to su...

...m(p)=1 or don't throw an error. As it is now, it forces me to normalize first, and then it is normalized again in line 749.