Skip to content

Commit

Permalink
need to reduce precision for certain cases
Browse files Browse the repository at this point in the history
  • Loading branch information
MarDiehl committed Jul 31, 2024
1 parent 0d73321 commit 322a93e
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 @@ -386,7 +386,7 @@ def test_to_frame_symmetries(self,lattice,mode,vector,N_sym):
o = Orientation.from_random(lattice=lattice)
frame = o.to_frame(**{keyword:vector,'with_symmetry':True})
shape_full = frame.shape[0]
shape_reduced = np.unique(np.around(frame,12),axis=0).shape[0]
shape_reduced = np.unique(np.around(frame,11),axis=0).shape[0]
assert shape_full//N_sym == shape_reduced


Expand Down

0 comments on commit 322a93e

Please sign in to comment.