Skip to content

Commit

Permalink
Reverting back missindent
Browse files Browse the repository at this point in the history
  • Loading branch information
Luffy610 committed Apr 3, 2024
1 parent 20b21cc commit 5089fcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gensim/matutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1052,7 +1052,7 @@ def logsumexp(x):
For performance reasons, doesn't support NaNs or 1d, 3d, etc arrays like :func:`scipy.special.logsumexp`.
"""
x_max = np.max(x)
x_max = np.max(x)
x = np.log(np.sum(np.exp(x - x_max)))
x += x_max

Expand Down

0 comments on commit 5089fcc

Please sign in to comment.