Deleted the cast error in class TOP

This commit is contained in:
rajdakin
2017-05-12 17:08:49 +02:00
parent 0092ac9a2a
commit ea0f2c97f4

View File

@ -121,6 +121,7 @@ class Mobject(object):
def shift(self, *vectors):
total_vector = reduce(op.add, vectors)
for mob in self.family_members_with_points():
mob.points = mob.points.astype('float')
mob.points += total_vector
return self
@ -705,16 +706,3 @@ class Group(Mobject):
#the mobject is used primarily for its submobject housing
#functionality.
pass