summaryrefslogtreecommitdiff
path: root/test/test_gromov.py
diff options
context:
space:
mode:
authorNicolas Courty <Nico@MacBook-Pro-de-Nicolas.local>2017-09-01 15:37:09 +0200
committerNicolas Courty <Nico@MacBook-Pro-de-Nicolas.local>2017-09-01 15:37:09 +0200
commit53e1115349ddbdff83b74c5dd15fc4b258c46cd4 (patch)
treeac4619872b341ef0471cc70d671d566526113c0b /test/test_gromov.py
parentf12322c1a288baedffd5b6aedcff15747aadac8e (diff)
docstrings + naming
Diffstat (limited to 'test/test_gromov.py')
-rw-r--r--test/test_gromov.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_gromov.py b/test/test_gromov.py
index c26d898..28495e1 100644
--- a/test/test_gromov.py
+++ b/test/test_gromov.py
@@ -17,7 +17,7 @@ def test_gromov():
xs = ot.datasets.get_2D_samples_gauss(n_samples, mu_s, cov_s)
- xt = [xs[n_samples - (i + 1)] for i in range(n_samples)]
+ xt = xs[::-1]
xt = np.array(xt)
p = ot.unif(n_samples)