Corr Anti-symmetric raised to three sigma

This commit is contained in:
Fabian Joswig 2021-11-08 10:05:33 +00:00
parent 012bf8ad17
commit aff0ca7339

View file

@ -171,7 +171,7 @@ class Corr:
if self.T % 2 != 0:
raise Exception("Can not symmetrize odd T")
if not all([o.is_zero_within_error() for o in self.content[0]]):
if not all([o.is_zero_within_error(3) for o in self.content[0]]):
warnings.warn("Correlator does not seem to be anti-symmetric around x0=0.", RuntimeWarning)
newcontent = [self.content[0]]