Skip to content
Snippets Groups Projects

attempt to fix E

Merged Anton Akhmerov requested to merge issue-48 into master
+ 0
1
@@ -969,7 +969,6 @@ def _to_bloch_coeff(key, momenta):
coeff = sympy.simplify(coeff * e**diff)
hop = np.array(hop).astype(float)
# Make sure there is no momentum dependence in the coefficient.
# breakpoint()
if any([momentum in coeff.atoms() for momentum in momenta]):
raise ValueError(
"All momentum dependence should be confined to hopping exponentials."
Loading