From 3c3075e9b95832c58ee929e8ca76e8144d867dff Mon Sep 17 00:00:00 2001 From: wperkins Date: Thu, 28 Dec 2023 18:11:30 +0000 Subject: [PATCH] Apply pre-commmit fixes --- include/private/psimpl.h | 2 +- src/ps/psoutput.cpp | 2 +- src/ps/psreaddata.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/private/psimpl.h b/include/private/psimpl.h index 7fc285de..7dc3e4e0 100644 --- a/include/private/psimpl.h +++ b/include/private/psimpl.h @@ -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? */ diff --git a/src/ps/psoutput.cpp b/src/ps/psoutput.cpp index c8b191c5..6463bfa4 100644 --- a/src/ps/psoutput.cpp +++ b/src/ps/psoutput.cpp @@ -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); diff --git a/src/ps/psreaddata.cpp b/src/ps/psreaddata.cpp index 48944a5d..5c4405b5 100644 --- a/src/ps/psreaddata.cpp +++ b/src/ps/psreaddata.cpp @@ -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) {