From b9e61565551715358f4eee4b27bc5d7cee62e62a Mon Sep 17 00:00:00 2001 From: James Osborn Date: Thu, 19 Dec 2024 12:34:05 -0600 Subject: [PATCH] improve hisqsmear tests --- src/gauge/hisqsmear.nim | 50 +++++++++++++++++++++++++-------------- src/maths/complexType.nim | 2 +- 2 files changed, 33 insertions(+), 19 deletions(-) diff --git a/src/gauge/hisqsmear.nim b/src/gauge/hisqsmear.nim index 77b7749..a7bd4a5 100644 --- a/src/gauge/hisqsmear.nim +++ b/src/gauge/hisqsmear.nim @@ -65,6 +65,8 @@ when isMainModule: ll2 = lo.newGauge() fc = lo.newGauge() lc = lo.newGauge() + ch = lo.newGauge() + chl = lo.newGauge() gc = GaugeActionCoeffs(plaq:1.0) eps = floatParam("eps", 1e-6) #warm = floatParam("warm", 1e-5) @@ -76,6 +78,8 @@ when isMainModule: #g.warm warm, r g.stagPhase dg.gaussian r + ch.gaussian r + chl.gaussian r for mu in 0.. ERROR rel error |{r}| > {tol*eps}" proc checkG = - echo "Checking GaugeDeriv" + #echo "Checking GaugeDeriv" + #for mu in 0..