Skip to content

Commit 93053e1

Browse files
Dimitrios AdamDimitrios Adam
authored andcommitted
Small Errors
1 parent e31d6a0 commit 93053e1

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

toolchain/mfc/packer/tol.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ def compare(candidate: Pack, golden: Pack, tol: Tolerance) -> typing.Tuple[Error
3131
for gFilepath, gEntry in golden.entries.items():
3232
# Find the corresponding entry in the candidate's pack
3333
cEntry = candidate.find(gFilepath)
34+
3435
if cEntry is None:
3536
return None, f"No reference to {gFilepath} in the candidate's pack."
3637

@@ -72,10 +73,10 @@ def raise_err_with_max_diagnostics(msg: str):
7273

7374
return None, f"""\
7475
Variable n°{valIndex+1} (1-indexed) in {gFilepath} {msg}:
75-
- Candidate: {cVal}
76-
- Golden: {gVal}
77-
- Error: {error}
78-
- Tolerance: {tol}{diagnostic_msg}
76+
- Candidate: {cVal}
77+
- Golden: {gVal}
78+
- Error: {error}
79+
- Tolerance: {tol}{diagnostic_msg}
7980
"""
8081

8182
if math.isnan(gVal):

0 commit comments

Comments
 (0)