-
Notifications
You must be signed in to change notification settings - Fork 390
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change consts to enums #8409
Change consts to enums #8409
Conversation
…Plus into jermy-const-cleanups
So....why is CI still wanting to run |
Thank you very much! |
This reverts commit 0f63645.
Messed up here, did not mean to push to this branch. Reverting commits. |
Thank you for the help and for explaining it, Edwin. I'll check for it next time if it happens again. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, this looks almost ready. I'm not sure why a couple fixes were backed out here but I'll fix that and push. If it's green after that this can go in.
.github/workflows/documentation.yml
Outdated
@@ -16,7 +16,7 @@ jobs: | |||
python-version: 3.7 | |||
|
|||
- name: Set up LaTeX | |||
run: sudo apt update && sudo apt install -y texlive texlive-xetex texlive-science |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs to be reverted back as well, I'm not sure how that happened.
@@ -81,8 +81,8 @@ namespace OutputProcessor { | |||
extern int const ReportVDD_Yes; // Report the variable dictionaries in "report format" | |||
extern int const ReportVDD_IDF; // Report the variable dictionaries in "IDF format" | |||
|
|||
extern Real64 const MinSetValue; | |||
extern Real64 const MaxSetValue; | |||
constexpr Real64 MinSetValue(99999999999999.0); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yay for constexprs!
src/EnergyPlus/PluginManager.cc
Outdated
@@ -705,7 +705,7 @@ namespace PluginManagement { | |||
|
|||
for (unsigned long itemNum = 0; itemNum < numVals; itemNum++) { | |||
PyObject *item = PyList_GetItem(pyth_val, itemNum); | |||
if (PyUnicode_Check(item)) { // NOLINT(hicpp-signed-bitwise) -- something inside Python code causes warning | |||
if PyUnicode_Check(item) { // NOLINT(hicpp-signed-bitwise) -- something inside Python code causes warning |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah something went wrong here, I don't know why these fixes are missing here.
@@ -35,7 +35,6 @@ ADD_SIMULATION_TEST(IDF_FILE 4ZoneWithShading_Simple_1.idf EPW_FILE USA_CO_Golde | |||
ADD_SIMULATION_TEST(IDF_FILE 4ZoneWithShading_Simple_2.idf EPW_FILE USA_CO_Golden-NREL.724666_TMY3.epw) | |||
ADD_SIMULATION_TEST(IDF_FILE 5ZoneAirCooled.idf EPW_FILE USA_CO_Golden-NREL.724666_TMY3.epw) | |||
ADD_SIMULATION_TEST(IDF_FILE 5ZoneAirCooledConvCoef.idf EPW_FILE USA_CO_Golden-NREL.724666_TMY3.epw) | |||
ADD_SIMULATION_TEST(IDF_FILE 5ZoneAirCooledConvCoefPIU.idf EPW_FILE USA_CO_Golden-NREL.724666_TMY3.epw) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is good though.
I'll let CI have one final pass over these changes, but they look good locally. |
All good here; this will merge in a few minutes when CI is done. Thanks for this @jmythms. |
Thank you @Myoldmopar ! |
Pull request overview
Changing conts to enums.