Skip to content

Commit

Permalink
resolve doctest with zero negative, (PEP 682)
Browse files Browse the repository at this point in the history
  • Loading branch information
ViniciusTxc3 committed Jan 15, 2025
1 parent 70b200d commit 4ff6846
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions ross/rotor_assembly.py
Original file line number Diff line number Diff line change
Expand Up @@ -1241,15 +1241,15 @@ def A(self, speed=0, frequency=None, synchronous=False):
Examples
--------
>>> rotor = rotor_example()
>>> np.round(rotor.A()[75:83, :2])
>>> np.round(rotor.A()[75:83, :2]) + 0.
array([[ 0., 10927.],
[-10924., -0.],
[ -0., -0.],
[-10924., 0.],
[ 0., 0.],
[ -174., 0.],
[ -0., -174.],
[ -0., -0.],
[ -0., 10723.],
[-10719., -0.]])
[ 0., -174.],
[ 0., 0.],
[ 0., 10723.],
[-10719., 0.]])
"""
if frequency is None:
frequency = speed
Expand Down

0 comments on commit 4ff6846

Please sign in to comment.