From 6bbd55d96711bba450f9f680e82e132dc2ab58ef Mon Sep 17 00:00:00 2001 From: Philip Eisenlohr Date: Mon, 15 Feb 2021 16:25:36 -0500 Subject: [PATCH] exchanged c for x in from_cubochoric --- python/tests/test_Orientation.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/tests/test_Orientation.py b/python/tests/test_Orientation.py index 4d1f958e2..2870189ed 100644 --- a/python/tests/test_Orientation.py +++ b/python/tests/test_Orientation.py @@ -221,14 +221,14 @@ class TestOrientation: o = Orientation.from_random(lattice=lattice,shape=shape) for r, theO in zip(o.reduced.flatten(),o.flatten()): assert r == theO.reduced - + @pytest.mark.parametrize('lattice',Orientation.crystal_families) def test_reduced_corner_cases(self,lattice): # test whether there is always a sym-eq rotation that falls into the FZ N = np.random.randint(10,40) size = np.ones(3)*np.pi**(2./3.) grid = grid_filters.coordinates0_node([N+1,N+1,N+1],size,-size*.5) - evenly_distributed = Orientation.from_cubochoric(c=grid[:-2,:-2,:-2],lattice=lattice) + evenly_distributed = Orientation.from_cubochoric(x=grid[:-2,:-2,:-2],lattice=lattice) assert evenly_distributed.shape == evenly_distributed.reduced.shape