[skip ci] fixed mistake (R --> Q) in example

This commit is contained in:
Philip Eisenlohr 2021-04-26 17:09:11 +00:00
parent 55333f7e3e
commit b1bbe5528b
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ class Rotation:
>>> import numpy as np >>> import numpy as np
>>> Q = damask.Rotation.from_random() >>> Q = damask.Rotation.from_random()
>>> a = np.random.rand(3) >>> a = np.random.rand(3)
>>> b = R @ a >>> b = Q @ a
>>> np.allclose(np.dot(Q.as_matrix(),a),b) >>> np.allclose(np.dot(Q.as_matrix(),a),b)
True True