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:
Philip Eisenlohr 2023-12-07 15:12:32 +00:00
commit cacbeea03f
1 changed files with 1 additions and 1 deletions

View File

@ -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',
[