Skip to content

Commit

Permalink
Apply pre-commmit fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
wperkins authored and abhyshr committed Mar 4, 2024
1 parent 0ff9ad5 commit 3c3075e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion include/private/psimpl.h
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ struct _p_PS {

PSSystemSummary sys_info;

PetscBool read_load_cost; /* are individual load costs assigned? */
PetscBool read_load_cost; /* are individual load costs assigned? */

PetscBool setupcalled; /* Is setup called on PS? */

Expand Down
2 changes: 1 addition & 1 deletion src/ps/psoutput.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ PetscErrorCode PSSaveSolution_MATPOWER(PS ps, const char outfile[]) {
}
fprintf(fd, "];\n");
}

/* Solution summary info */
fprintf(fd, "\n%%%% summary data\n");
fprintf(fd, "%ssummary_stats = [\n", prefix);
Expand Down
2 changes: 1 addition & 1 deletion src/ps/psreaddata.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -824,7 +824,7 @@ PetscErrorCode PSReadMatPowerData(PS ps, const char netfile[]) {
&Load[loadcosti].loss_cost);
Load[loadcosti].loss_frac /= 100; /* Convert to fraction */
loadcosti++;
}
}

/* Read generator fuel data */
if (i >= genfuel_start_line && i < genfuel_end_line) {
Expand Down

0 comments on commit 3c3075e

Please sign in to comment.