Skip to content

Commit

Permalink
fix lognormexp
Browse files Browse the repository at this point in the history
  • Loading branch information
sth4nth committed Apr 1, 2017
1 parent 6de9257 commit d1b3fe2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/lognormexp.m
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
if isempty(dim), dim = 1; end
end
s = logsumexp(X,dim);
Y = exp(X-s);
Y = X-s;

0 comments on commit d1b3fe2

Please sign in to comment.