From 1ec589f5bf4191a59ebb110f4c5caa7ea5b6f66c Mon Sep 17 00:00:00 2001 From: Ansh Gupta <38015438+anshgupta1234@users.noreply.github.com> Date: Thu, 24 Oct 2024 01:42:23 -0400 Subject: [PATCH] Revert "even lower tolerance?" This reverts commit a0e14dac5bb68d6b6dbcf5ded191b402a5dbd8de. --- toolchain/mfc/test/case.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/toolchain/mfc/test/case.py b/toolchain/mfc/test/case.py index 091eb3895..b974e94a4 100644 --- a/toolchain/mfc/test/case.py +++ b/toolchain/mfc/test/case.py @@ -213,9 +213,12 @@ def __str__(self) -> str: return f"tests/[bold magenta]{self.get_uuid()}[/bold magenta]: {self.trace}" def compute_tolerance(self) -> float: - if any(self.params.get(key, 'F') == 'T' for key in ['hypoelasticity', 'ib']): + if self.params.get("hypoelasticity", 'F') == 'T': return 1e-7 + if self.params.get('ib', 'F') == 'T': + return 1e-8 + if any(self.params.get(key, 'F') == 'T' for key in ['relax', 'qbmm', 'bubbles']): return 1e-10