- # orthonormal with respect to our inner-product. But also
- # don't pass check_field=False here, because the user can pass
- # in a field!
- super(HadamardEJA, self).__init__(field,
- basis,
+ # orthonormal with respect to our inner-product.
+ if not 'orthonormalize' in kwargs:
+ kwargs['orthonormalize'] = False
+
+ # But also don't pass check_field=False here, because the user
+ # can pass in a field!
+ standard_basis = FreeModule(ZZ, n).basis()
+ super(HadamardEJA, self).__init__(standard_basis,