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