Skip to content

Commit

Permalink
changing equality identity.
Browse files Browse the repository at this point in the history
  • Loading branch information
weinbe58 committed Sep 28, 2023
1 parent 14cc5d9 commit 02c35fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bloqade/emulate/ir/space.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def transition_state_at(self, index: int, fro: int, to: int) -> NDArray:
row_indices, col_config = self.atom_type.transition_state_at(
self.configurations, index, fro, to
)
if self.space_type == SpaceType.FullSpace:
if self.space_type is SpaceType.FullSpace:
return (row_indices, col_config)
else:
col_indices = np.searchsorted(self.configurations, col_config)
Expand Down

0 comments on commit 02c35fd

Please sign in to comment.