We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77dc4b0 commit 29c1b6cCopy full SHA for 29c1b6c
src/bloqade/shuttle/dialects/filled/types.py
@@ -34,7 +34,7 @@ def __post_init__(self):
34
)
35
36
def __hash__(self):
37
- return hash((FilledGrid, self.parent, self.vacancies))
+ return hash((self.parent, self.vacancies))
38
39
def __eq__(self, other: Any) -> bool:
40
return (
@@ -43,6 +43,9 @@ def __eq__(self, other: Any) -> bool:
43
and self.vacancies == other.vacancies
44
45
46
+ def is_equal(self, other: Any) -> bool:
47
+ return self == other
48
+
49
@cached_property
50
def positions(self) -> ilist.IList[tuple[float, float], Any]:
51
positions = tuple(
0 commit comments