Skip to content

Commit

Permalink
fixed mypy again?
Browse files Browse the repository at this point in the history
  • Loading branch information
javabster committed Sep 1, 2023
1 parent 48bbd5c commit 9d80476
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# that they have been altered from the originals.

"""The hexagonal lattice"""
from typing import Mapping, Tuple
from typing import Dict, Tuple

from rustworkx import generators

Check failure on line 16 in qiskit_nature/second_q/hamiltonians/lattices/hexagonal_lattice.py

View workflow job for this annotation

GitHub Actions / Nature (ubuntu-latest, 3.8)

Module "rustworkx" has no attribute "generators"

Check failure on line 16 in qiskit_nature/second_q/hamiltonians/lattices/hexagonal_lattice.py

View workflow job for this annotation

GitHub Actions / Nature (windows-2019, 3.8)

Module "rustworkx" has no attribute "generators"

Expand Down Expand Up @@ -74,7 +74,7 @@ def onsite_parameter(self) -> complex:
"""
return self._onsite_parameter

def _default_position(self) -> Mapping[int, Tuple]:
def _default_position(self) -> Dict[int, Tuple]:
"""Return a dictionary of default positions for visualization of
a one- or two-dimensional lattice.
Expand Down

0 comments on commit 9d80476

Please sign in to comment.