Skip to content

Commit 6d1d59b

Browse files
committed
Add inital value for muscl and limiter to fix builds.
1 parent 4899ed6 commit 6d1d59b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

SU2_CFD/include/solvers/CScalarSolver.inl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,8 @@ void CScalarSolver<VariableType>::Upwind_Residual(CGeometry* geometry, CSolver**
131131
unsigned short iMesh) {
132132
const bool implicit = (config->GetKind_TimeIntScheme() == EULER_IMPLICIT);
133133

134-
bool muscl;
135-
bool limiter;
134+
bool muscl = false;
135+
bool limiter = false;
136136
if (SolverName == "SA" || SolverName == "K-W SST") {
137137
muscl = config->GetMUSCL_Turb();
138138
limiter = (config->GetKind_SlopeLimit_Turb() != NO_LIMITER);

0 commit comments

Comments
 (0)