Skip to content

Commit

Permalink
Merge branch '357-lattice-basis-disagrees-with-initialization' into '…
Browse files Browse the repository at this point in the history
…development'

lowered tolerance

Closes #357

See merge request damask/DAMASK!868
  • Loading branch information
eisenlohr committed Dec 7, 2023
2 parents 78de3e6 + c350009 commit cacbeea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/tests/test_Orientation.py
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ def test_basis_real(self):
**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',
[
Expand Down

0 comments on commit cacbeea

Please sign in to comment.