We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4a1c7ef commit d9a3553Copy full SHA for d9a3553
1 file changed
pyrecest/tests/distributions/test_hyperspherical_grid_distribution.py
@@ -1,5 +1,6 @@
1
import unittest
2
import warnings
3
+import copy
4
5
from pyrecest.distributions.hypersphere_subset.von_mises_fisher_distribution import (
6
VonMisesFisherDistribution,
@@ -262,7 +263,7 @@ def test_multiply_error(self):
262
263
264
# Make an independent copy and truncate its grid
265
f2 = HypersphericalGridDistribution(
- f1.grid.copy(), f1.grid_values.copy()
266
+ copy.deepcopy(f1.grid), copy.deepcopy(f1.grid_values)
267
)
268
f2.grid_values = f2.grid_values[:-1]
269
grid_full = f2.get_grid()
0 commit comments