Skip to content

Commit

Permalink
fix type annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinsung committed Jun 30, 2024
1 parent 129bf8d commit ddf44e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/ffsim/states/states.py
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ def indices_to_strings(


def strings_to_indices(
strings: Sequence[str] | np.ndarray, norb: int, nelec: int | tuple[int, int]
strings: Sequence[str], norb: int, nelec: int | tuple[int, int]
) -> np.ndarray:
"""Convert bitstrings to state vector indices.
Expand Down

0 comments on commit ddf44e6

Please sign in to comment.