Skip to content

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
AlainKadar committed Dec 4, 2023
1 parent 5e1cbc3 commit 6af045c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion freud/order.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ cdef class Nematic(_Compute):
orientations, shape=(None, 3))

if len(np.where(~orientations.any(axis=1))[0])!=0:
warnings.warn('You supplied a zero vector in the orientations'
warnings.warn('You supplied a zero vector in the orientations'
'array, which causes unusual behavior.',
UserWarning)
cdef const float[:, ::1] l_orientations = orientations
Expand Down
2 changes: 1 addition & 1 deletion tests/test_order_Nematic.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def test_warning(self):
)

# Change first orientation to zero vector
orientations[0] = np.array([0,0,0])
orientations[0] = np.array([0, 0, 0])

op = freud.order.Nematic()

Expand Down

0 comments on commit 6af045c

Please sign in to comment.