From a13bc9ee2616446ce21a1b80d4f9ab10bc5b304c Mon Sep 17 00:00:00 2001 From: Ben Corbett Date: Mon, 10 Jun 2024 16:17:10 -0700 Subject: [PATCH] Fixed line wrap issue in example. --- examples/fermi-hubbard.jl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/fermi-hubbard.jl b/examples/fermi-hubbard.jl index 89c6808..42d20b2 100644 --- a/examples/fermi-hubbard.jl +++ b/examples/fermi-hubbard.jl @@ -39,9 +39,9 @@ function Fermi_Hubbard_momentum_space( for p in 1:N for q in 1:N for k in 1:N - os .+= U / N, - "Cdagup", mod1(p - k, N), "Cdagdn", mod1(q + k, N), "Cdn", q, "Cup", - p + pmk = mod1(p - k, N) + qpk = mod1(q + k, N) + os .+= U / N, "Cdagup", pmk, "Cdagdn", qpk, "Cdn", q, "Cup", p end end end