Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GS.Bands and Divide by zero #257

Closed
pablosanjose opened this issue Mar 20, 2024 · 0 comments · Fixed by #259
Closed

GS.Bands and Divide by zero #257

pablosanjose opened this issue Mar 20, 2024 · 0 comments · Fixed by #259

Comments

@pablosanjose
Copy link
Owner

pablosanjose commented Mar 20, 2024

Some recent change broke something. This used to work:

h = LP.square() |> hopping(-1)
ϕs = subdiv(0, 0.6π, 2)
b = bands(h, ϕs, ϕs, showprogress = false)
g = h |> attach(@onsite(ω->-im), cells = SA[20,0]) |> greenfunction(GS.Bands(ϕs, ϕs))
gx1 = g(-1)[cellsites(SA[1,-1], 1), cellsites(SA[0,0],1)];

It now gives Divide by zero

EDIT: further reduced the MWE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant