From 2fd413f37587cbdd9bd6cc3d890ffc1d61e79719 Mon Sep 17 00:00:00 2001 From: jonesdyl Date: Sun, 12 Jun 2022 13:34:30 +0200 Subject: [PATCH] fix test typo --- lattpy/tests/test_lattice.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lattpy/tests/test_lattice.py b/lattpy/tests/test_lattice.py index ee14988..75b1337 100644 --- a/lattpy/tests/test_lattice.py +++ b/lattpy/tests/test_lattice.py @@ -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():