# not worry about it.
raise NotImplementedError
- n = ZZ.random_element(1, cls._max_test_case_size())
+ n = ZZ.random_element(cls._max_test_case_size()) + 1
return cls(n, field, **kwargs)
def _max_test_case_size():
# Play it safe, since this will be squared and the underlying
# field can have dimension 4 (quaternions) too.
- return 3
+ return 2
@classmethod
def _denormalized_basis(cls, n, field):
@staticmethod
def _max_test_case_size():
- return 5 # Dimension 10
+ return 4 # Dimension 10