Merge branch '357-lattice-basis-disagrees-with-initialization' into 'development'
lowered tolerance Closes #357 See merge request damask/DAMASK!868
This commit is contained in:
commit
cacbeea03f
|
@ -328,7 +328,7 @@ class TestOrientation:
|
|||
**dict(zip(['a','b','c'],lengths)),
|
||||
**dict(zip(['alpha','beta','gamma'],np.arccos(cosines))),
|
||||
)
|
||||
assert np.allclose(o.to_frame(uvw=np.eye(3)),basis), 'Lattice basis disagrees with initialization'
|
||||
assert np.allclose(o.to_frame(uvw=np.eye(3)),basis,rtol=1e-4), 'Lattice basis disagrees with initialization'
|
||||
|
||||
@pytest.mark.parametrize('lattice,a,b,c,alpha,beta,gamma',
|
||||
[
|
||||
|
|
Loading…
Reference in New Issue