Skip to content

Commit 34c618a

Browse files
Dimitrios AdamDimitrios Adam
authored andcommitted
Small Changes2
1 parent a7f38f2 commit 34c618a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

toolchain/mfc/packer/tol.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def is_close(error: Error, tolerance: Tolerance) -> bool:
2121
def _format_error_diagnostics(max_abs_info, max_rel_info) -> str:
2222
"""Format diagnostic information for maximum errors among failing variables."""
2323
diagnostic_msg = ""
24-
24+
2525
if max_abs_info:
2626
filepath, val_idx, g_val, c_val, abs_err, rel_err = max_abs_info
2727
rel_error_str = f"{rel_err:.2E}" if not math.isnan(rel_err) else "NaN"
@@ -139,4 +139,3 @@ def find_maximum_errors_among_failing(candidate: Pack, golden: Pack, tol: Tolera
139139
max_rel_info = (gFilepath, valIndex, gVal, cVal, error.relative, error.absolute)
140140

141141
return max_abs_info, max_rel_info
142-

0 commit comments

Comments
 (0)