diff options
author | Rémi Flamary <remi.flamary@gmail.com> | 2017-07-24 15:29:48 +0200 |
---|---|---|
committer | Rémi Flamary <remi.flamary@gmail.com> | 2017-07-24 15:29:48 +0200 |
commit | 33f3d309209baa8c5e127d02f00aae0660ed7bfb (patch) | |
tree | 5cbe065ef70d59032637036457323fefbd0202e2 /test/test_bregman.py | |
parent | 64cf2fc4f9a9331d510afd93e9bd3b8963ff879e (diff) |
clean pep8
Diffstat (limited to 'test/test_bregman.py')
-rw-r--r-- | test/test_bregman.py | 4 |
1 files changed, 0 insertions, 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) |