Changes between Initial Version and Version 1 of Ticket #30307, comment 93
- Timestamp:
- 06/20/21 22:23:42 (11 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #30307, comment 93
initial v1 9 9 10 10 {{{#!python 11 elif tensor_type[0] > 1 and tensor_type[1] == 0 and antisym: 12 if isinstance(antisym[0], (int, Integer)): 13 # a single antisymmetry is provided as a tuple or a 14 # range object; it is converted to a 1-item list: 15 antisym = [tuple(antisym)] 16 if isinstance(antisym, list): 17 antisym0 = antisym[0] 18 else: 19 antisym0 = antisym 11 20 if len(antisym0) == tensor_type[0]: 12 21 return self.alternating_contravariant_tensor(