Force integer division (missed Python2-Python 3 change)

This commit is contained in:
Neil Lawrence 2021-05-21 07:29:01 +01:00 committed by GitHub
parent d645fc34bc
commit c36cd19572
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -499,7 +499,7 @@ class stick_show(mocap_data_show):
super(stick_show, self).__init__(vals, axes=axes, connect=connect)
def process_values(self):
self.vals = self.vals.reshape((3, self.vals.shape[1]/3)).T
self.vals = self.vals.reshape((3, self.vals.shape[1]//3)).T
class skeleton_show(mocap_data_show):
"""data_show class for visualizing motion capture data encoded as a skeleton with angles."""