From 33f3d309209baa8c5e127d02f00aae0660ed7bfb Mon Sep 17 00:00:00 2001 From: RĂ©mi Flamary Date: Mon, 24 Jul 2017 15:29:48 +0200 Subject: clean pep8 --- test/test_bregman.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/test/test_bregman.py b/test/test_bregman.py index 2dd3498..b204fe4 100644 --- a/test/test_bregman.py +++ b/test/test_bregman.py @@ -78,16 +78,12 @@ def test_bary(): n = 100 # nb bins - # bin positions - x = np.arange(n, dtype=np.float64) - # Gaussian distributions a1 = ot.datasets.get_1D_gauss(n, m=30, s=10) # m= mean, s= std a2 = ot.datasets.get_1D_gauss(n, m=40, s=10) # creating matrix A containing all distributions A = np.vstack((a1, a2)).T - n_distributions = A.shape[1] # loss matrix + normalization M = ot.utils.dist0(n) -- cgit v1.2.3