We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ade6f59 commit d67e1f5Copy full SHA for d67e1f5
z2pack/hm.py
@@ -64,7 +64,7 @@ def __init__(
64
if check_periodic:
65
k_values = itertools.product([0, 1], repeat=dim)
66
k_first = next(k_values)
67
- ham_first = self._hamilton()
+ ham_first = self._hamilton(k_first)
68
for k in k_values:
69
if not np.allclose(ham_first, self._hamilton(k)):
70
raise ValueError(
0 commit comments