Skip to content

Commit

Permalink
Python 3 Floor Divide For Indexing Arithmetic
Browse files Browse the repository at this point in the history
  • Loading branch information
Aeva committed Apr 7, 2024
1 parent 7873593 commit 7e3aaf8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyrow.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def get_force_plot(self):
results = self.send(command)

forceplot = {}
datapoints = results['CSAFE_PM_GET_FORCEPLOTDATA'][0] / 2
datapoints = results['CSAFE_PM_GET_FORCEPLOTDATA'][0] // 2
forceplot['forceplot'] = results['CSAFE_PM_GET_FORCEPLOTDATA'][1:(datapoints+1)]
forceplot['strokestate'] = results['CSAFE_PM_GET_STROKESTATE'][0]

Expand Down

0 comments on commit 7e3aaf8

Please sign in to comment.