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 93e8c1b commit 87b0b3dCopy full SHA for 87b0b3d
tiledb/dimension.py
@@ -133,14 +133,14 @@ def __len__(self) -> int:
133
def __eq__(self, other) -> bool:
134
if not isinstance(other, Dim):
135
return False
136
- if (
137
- self.name != other.name
138
- or self.domain != other.domain
139
- or self.tile != other.tile
140
- or self.dtype != other.dtype
141
- ):
142
- return False
143
- return True
+ return (
+ self.name == other.name
+ and self.domain == other.domain
+ and self.tile == other.tile
+ and self.dtype == other.dtype
+ and self.isvar == other.isvar
+ and self.filters == other.filters
+ )
144
145
def __array__(self, dtype=None, **kw) -> np.array:
146
if not self._integer_domain():
0 commit comments