Skip to content

Commit

Permalink
Revert "even lower tolerance?"
Browse files Browse the repository at this point in the history
This reverts commit a0e14da.
  • Loading branch information
anshgupta1234 committed Oct 28, 2024
1 parent 8b0fa8d commit 1ec589f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion toolchain/mfc/test/case.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 1ec589f

Please sign in to comment.