Skip to content

Commit

Permalink
Fix type unions
Browse files Browse the repository at this point in the history
  • Loading branch information
cgevans committed Jan 5, 2024
1 parent 21a52d6 commit 490b270
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/stickydesign/endclasses.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,11 +166,11 @@ def info(self) -> Dict[str, Any]: # noqa: F821
...

@abstractmethod
def matching_uniform(self, seqs: 'EndArray' | np.ndarray) -> np.ndarray:
def matching_uniform(self, seqs: Union[EndArray, np.ndarray]) -> np.ndarray:
...

@abstractmethod
def uniform(self, seqs1: 'EndArray' | np.ndarray, seqs2: 'EndArray' | np.ndarray) -> np.ndarray:
def uniform(self, seqs1: Union[EndArray, np.ndarray], seqs2: Union[EndArray, np.ndarray]) -> np.ndarray:
...


Expand Down

0 comments on commit 490b270

Please sign in to comment.