Skip to content

Commit 02c35fd

Browse files
committed
changing equality identity.
1 parent 14cc5d9 commit 02c35fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bloqade/emulate/ir/space.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def transition_state_at(self, index: int, fro: int, to: int) -> NDArray:
123123
row_indices, col_config = self.atom_type.transition_state_at(
124124
self.configurations, index, fro, to
125125
)
126-
if self.space_type == SpaceType.FullSpace:
126+
if self.space_type is SpaceType.FullSpace:
127127
return (row_indices, col_config)
128128
else:
129129
col_indices = np.searchsorted(self.configurations, col_config)

0 commit comments

Comments
 (0)