summaryrefslogtreecommitdiff
path: root/test/test_bregman.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_bregman.py')
-rw-r--r--test/test_bregman.py4
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)