summaryrefslogtreecommitdiff
path: root/tests/MyGame/MonsterExtra.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/MyGame/MonsterExtra.py')
-rw-r--r--tests/MyGame/MonsterExtra.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/MyGame/MonsterExtra.py b/tests/MyGame/MonsterExtra.py
index 48ab461e..da7986a6 100644
--- a/tests/MyGame/MonsterExtra.py
+++ b/tests/MyGame/MonsterExtra.py
@@ -217,7 +217,7 @@ class MonsterExtraT(object):
MonsterExtraStartDvecVector(builder, len(self.dvec))
for i in reversed(range(len(self.dvec))):
builder.PrependFloat64(self.dvec[i])
- dvec = builder.EndVector(len(self.dvec))
+ dvec = builder.EndVector()
if self.fvec is not None:
if np is not None and type(self.fvec) is np.ndarray:
fvec = builder.CreateNumpyVector(self.fvec)
@@ -225,7 +225,7 @@ class MonsterExtraT(object):
MonsterExtraStartFvecVector(builder, len(self.fvec))
for i in reversed(range(len(self.fvec))):
builder.PrependFloat32(self.fvec[i])
- fvec = builder.EndVector(len(self.fvec))
+ fvec = builder.EndVector()
MonsterExtraStart(builder)
MonsterExtraAddD0(builder, self.d0)
MonsterExtraAddD1(builder, self.d1)