Skip to content

Commit

Permalink
Merge pull request #12 from glotzerlab/fix/example-syntax
Browse files Browse the repository at this point in the history
Fixed syntax in a couple examples.
  • Loading branch information
vyasr committed May 16, 2019
2 parents dd99936 + 2e4e603 commit 1472f91
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rowan/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ def rotate(q, v):
Example::
v_rot = rowan.reflect([1, 0, 0, 0], [1, 1, 1])
v_rot = rowan.rotate([1, 0, 0, 0], [1, 1, 1])
"""
q = np.asarray(q)
v = np.asarray(v)
Expand Down Expand Up @@ -948,7 +948,7 @@ def to_matrix(q, require_unit=True):
Example::
ql = rowan.to_matrix([1, 0, 0, 0]])
ql = rowan.to_matrix([1, 0, 0, 0])
"""
q = np.asarray(q)

Expand Down

0 comments on commit 1472f91

Please sign in to comment.