Changes between Initial Version and Version 1 of Ticket #30307, comment 93


Ignore:
Timestamp:
06/20/21 22:23:42 (11 months ago)
Author:
gh-mjungmath
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #30307, comment 93

    initial v1  
    99
    1010{{{#!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
    1120            if len(antisym0) == tensor_type[0]:
    1221                return self.alternating_contravariant_tensor(