At some point the evaluate function for simplex() was changed to check sum(a) == 1.0 rather than abs(sum(a)-1.0) < 1e-12... This is too strict, and causes the following bad behavior (fixed by this PR):
julia> using LowRankModels
julia> evaluate(simplex(),[1.0,0.0,0.0])
Inf
At some point the
evaluate
function forsimplex()
was changed to checksum(a) == 1.0
rather thanabs(sum(a)-1.0) < 1e-12
... This is too strict, and causes the following bad behavior (fixed by this PR):