diff --git a/common/lognormexp.m b/common/lognormexp.m index 10d9f95..8db9c78 100644 --- a/common/lognormexp.m +++ b/common/lognormexp.m @@ -7,4 +7,4 @@ if isempty(dim), dim = 1; end end s = logsumexp(X,dim); -Y = exp(X-s); +Y = X-s;