exchanged c for x in from_cubochoric
This commit is contained in:
parent
4bcbcb34d0
commit
6bbd55d967
|
@ -228,7 +228,7 @@ class TestOrientation:
|
||||||
N = np.random.randint(10,40)
|
N = np.random.randint(10,40)
|
||||||
size = np.ones(3)*np.pi**(2./3.)
|
size = np.ones(3)*np.pi**(2./3.)
|
||||||
grid = grid_filters.coordinates0_node([N+1,N+1,N+1],size,-size*.5)
|
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
|
assert evenly_distributed.shape == evenly_distributed.reduced.shape
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue