Skip to content

Commit 51143a6

Browse files
Fixed build error and updated submodule
1 parent 2b709d9 commit 51143a6

3 files changed

Lines changed: 3 additions & 7 deletions

File tree

SU2_CFD/src/fluid/CDataDrivenFluid.cpp

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ void CDataDrivenFluid::Run_Newton_Solver(su2double Y_target, su2double* Y, su2do
344344

345345
void CDataDrivenFluid::ComputeIdealGasQuantities() {
346346
/*--- Compute approximate ideal gas properties from the middle of the reference data set. These properties are used to approximate the initial condition of the Newton solvers using the ideal gas law. ---*/
347-
su2double rho_average, e_average;
347+
su2double rho_average = 1.0, e_average = 1.0;
348348

349349
/*--- Obtain minimum and maximum density and static energy from data set. ---*/
350350
switch (Kind_DataDriven_Method)
@@ -368,10 +368,6 @@ void CDataDrivenFluid::ComputeIdealGasQuantities() {
368368
#endif
369369
break;
370370
default:
371-
rho_average = 1.0;
372-
e_average = 1.0;
373-
rho_min = 1.0;
374-
e_min = 1.0;
375371
break;
376372
}
377373

meson_scripts/init.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def init_submodules(
7171
github_repo_coolprop = "https://github.com/CoolProp/CoolProp"
7272
sha_version_mel = "2484cd3258ef800a10e361016cb341834ee7930b"
7373
github_repo_mel = "https://github.com/pcarruscag/MEL"
74-
sha_version_mlpcpp = "596ed4c69c284304d8eb59e4f103ffab8afbfb1b"
74+
sha_version_mlpcpp = "a80115c6f4779cc168d1464cf32aead61559c9ea"
7575
github_repo_mlpcpp = "https://github.com/EvertBunschoten/MLPCpp"
7676

7777
medi_name = "MeDiPack"

subprojects/MLPCpp

0 commit comments

Comments
 (0)