Skip to content

Commit

Permalink
fix test typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jonesdyl committed Jun 12, 2022
1 parent 0764927 commit 2fd413f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lattpy/tests/test_lattice.py
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ def test_superindex_from_position():
latt.build((4, 4), primitive=False)
for i in range(latt.num_sites):
pos = latt.position(i)
assert latt.superindex_from_position(pos) == i
assert latt.superindex_from_pos(pos) == i


def test_superindex_from_index():
Expand Down

0 comments on commit 2fd413f

Please sign in to comment.