Skip to content

Commit

Permalink
fix errflg variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
peverwhee committed Nov 6, 2024
1 parent bcc3aba commit c2b05c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/host_cap.py
Original file line number Diff line number Diff line change
Expand Up @@ -696,7 +696,7 @@ def write_host_cap(host_model, api, module_name, output_dir, run_env):
call_str = suite_part_call_list(host_model, const_dict, spart, False,
dyn_const=True)
cap.write(f"call {suite.name}_{stage}({call_str})", 3)
cap.write("if (errflg /= 0) then", 3)
cap.write(f"if ({errflg_name} /= 0) then", 3)
cap.write("return", 4)
cap.write("end if", 3)
# Allocate the suite's dynamic constituents array
Expand Down

0 comments on commit c2b05c5

Please sign in to comment.