summaryrefslogtreecommitdiff
path: root/test/test_gromov.py
diff options
context:
space:
mode:
authorNicolas Courty <Nico@pc-mna-08.univ-ubs.fr>2017-09-12 18:07:17 +0200
committerNicolas Courty <Nico@pc-mna-08.univ-ubs.fr>2017-09-12 18:07:17 +0200
commit36bf599552ff15d1ca1c6b505507e65a333fa55e (patch)
tree8d508e9800bffef8c008c0872e46081c423d75dd /test/test_gromov.py
parent8ea74ad41d660629a12f7d8d0d8816a23d385a92 (diff)
Corrections on Gromov
Diffstat (limited to 'test/test_gromov.py')
-rw-r--r--test/test_gromov.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/test_gromov.py b/test/test_gromov.py
index 28495e1..e808292 100644
--- a/test/test_gromov.py
+++ b/test/test_gromov.py
@@ -17,8 +17,7 @@ def test_gromov():
xs = ot.datasets.get_2D_samples_gauss(n_samples, mu_s, cov_s)
- xt = xs[::-1]
- xt = np.array(xt)
+ xt = xs[::-1].copy()
p = ot.unif(n_samples)
q = ot.unif(n_samples)