Make swizzle in pycute work (#2553)

This commit is contained in:
melonedo
2025-08-20 10:21:00 +08:00
committed by GitHub
parent 5b76420d6a
commit ec18e8043b

View File

@ -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):