Skip to content

Commit d9a3553

Browse files
committed
Next try
1 parent 4a1c7ef commit d9a3553

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

pyrecest/tests/distributions/test_hyperspherical_grid_distribution.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import unittest
22
import warnings
3+
import copy
34

45
from pyrecest.distributions.hypersphere_subset.von_mises_fisher_distribution import (
56
VonMisesFisherDistribution,
@@ -262,7 +263,7 @@ def test_multiply_error(self):
262263

263264
# Make an independent copy and truncate its grid
264265
f2 = HypersphericalGridDistribution(
265-
f1.grid.copy(), f1.grid_values.copy()
266+
copy.deepcopy(f1.grid), copy.deepcopy(f1.grid_values)
266267
)
267268
f2.grid_values = f2.grid_values[:-1]
268269
grid_full = f2.get_grid()

0 commit comments

Comments
 (0)