Make swizzle in pycute work (#2553)
This commit is contained in:
@ -75,7 +75,7 @@ class Swizzle:
|
||||
|
||||
# Size of the domain
|
||||
def size(self):
|
||||
return 1 << (bits + base + abs(shift))
|
||||
return 1 << (self.bits + self.base + abs(self.shift))
|
||||
|
||||
# Size of the codomain
|
||||
def cosize(self):
|
||||
|
||||
Reference in New Issue
Block a user