fix vector default type

This commit is contained in:
protolambda 2019-06-20 18:01:57 +02:00
parent 977856b06f
commit 82240d8dbd
1 changed files with 1 additions and 1 deletions

View File

@ -333,7 +333,7 @@ class Vector(BaseList):
@classmethod @classmethod
def default(cls): def default(cls):
return [cls.elem_type.default() for _ in range(cls.length)] return cls(cls.elem_type.default() for _ in range(cls.length))
@classmethod @classmethod
def is_fixed_size(cls): def is_fixed_size(cls):