Skip to content

Commit

Permalink
fix lepage derivative
Browse files Browse the repository at this point in the history
  • Loading branch information
jcosborn committed Dec 17, 2024
1 parent c112d75 commit dd1b69e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/gauge/fat7lderiv.nim
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,8 @@ proc fat7lDeriv*(deriv: auto, gauge: auto, mid: auto, coef: Fat7lCoefs,
deriv[sig] += coef1 * mid[sig]
nflops += 36

if coefL!=0.0:
#if coefL!=0.0:
when false:
# fix up Lepage term
let fixL = -coefL
for mu in 0..3:
Expand Down Expand Up @@ -440,15 +441,15 @@ when isMainModule:
checkS("sevenStaple", 3)
coef.sevenStaple = 0.0
coef.lepage = 1.0
checkS("Lepage", 1)
checkS("Lepage", 25)
coef.oneLink = 1.0
coef.threeStaple = 1.0
coef.fiveStaple = 1.0
coef.sevenStaple = 1.0
coef.lepage = 0.0
checkS("not Lepage", 60)
coef.lepage = 1.0
checkS("all", 60)
checkS("all", 90)


#[
Expand Down

0 comments on commit dd1b69e

Please sign in to comment.