diff options
author | Nicolas Courty <Nico@MacBook-Pro-de-Nicolas.local> | 2017-09-01 15:37:09 +0200 |
---|---|---|
committer | Nicolas Courty <Nico@MacBook-Pro-de-Nicolas.local> | 2017-09-01 15:37:09 +0200 |
commit | 53e1115349ddbdff83b74c5dd15fc4b258c46cd4 (patch) | |
tree | ac4619872b341ef0471cc70d671d566526113c0b /test | |
parent | f12322c1a288baedffd5b6aedcff15747aadac8e (diff) |
docstrings + naming
Diffstat (limited to 'test')
-rw-r--r-- | test/test_gromov.py | 2 |
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)
|