From 53e1115349ddbdff83b74c5dd15fc4b258c46cd4 Mon Sep 17 00:00:00 2001 From: Nicolas Courty Date: Fri, 1 Sep 2017 15:37:09 +0200 Subject: docstrings + naming --- test/test_gromov.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/test_gromov.py') 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) -- cgit v1.2.3