Skip to content

Commit 33f3d30

Browse files
committed
clean pep8
1 parent 64cf2fc commit 33f3d30

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

test/test_bregman.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,16 +78,12 @@ def test_bary():
7878

7979
n = 100 # nb bins
8080

81-
# bin positions
82-
x = np.arange(n, dtype=np.float64)
83-
8481
# Gaussian distributions
8582
a1 = ot.datasets.get_1D_gauss(n, m=30, s=10) # m= mean, s= std
8683
a2 = ot.datasets.get_1D_gauss(n, m=40, s=10)
8784

8885
# creating matrix A containing all distributions
8986
A = np.vstack((a1, a2)).T
90-
n_distributions = A.shape[1]
9187

9288
# loss matrix + normalization
9389
M = ot.utils.dist0(n)

0 commit comments

Comments
 (0)