Skip to content

Commit 1d85d79

Browse files
committed
Fix logsumexp test
1 parent bebb41f commit 1d85d79

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

scipy_maxentropy/__init__.py

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
from __future__ import absolute_import
22
from .info import __doc__
33
from .maxentropy import *
4+
# For backward compatibility with scipy.maxentropy:
45
from scipy.special import logsumexp

tests/test_maxentropy.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
from scipy_maxentropy import logsumexp
99

1010

11-
def test_logsumexp(self):
11+
def test_logsumexp():
1212
"""Test whether logsumexp() function correctly handles large
1313
inputs.
1414
"""

0 commit comments

Comments
 (0)