From 36bf599552ff15d1ca1c6b505507e65a333fa55e Mon Sep 17 00:00:00 2001 From: Nicolas Courty Date: Tue, 12 Sep 2017 18:07:17 +0200 Subject: Corrections on Gromov --- test/test_gromov.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'test/test_gromov.py') 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) -- cgit v1.2.3