Skip to content

Commit 4bddb5b

Browse files
additional cleaning
1 parent c9eb3a3 commit 4bddb5b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

SU2_CFD/src/variables/CIncEulerVariable.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ bool CIncEulerVariable::SetPrimVar(unsigned long iPoint, CFluidModel *FluidModel
9090

9191
/*--- Set the value of the density ---*/
9292

93-
const auto check_dens = check_temp ? true : SetDensity(iPoint, FluidModel->GetDensity());
93+
const auto check_dens = SetDensity(iPoint, FluidModel->GetDensity());
9494

9595
/*--- Non-physical solution found. Revert to old values. ---*/
9696

SU2_CFD/src/variables/CIncNSVariable.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ bool CIncNSVariable::SetPrimVar(unsigned long iPoint, su2double eddy_visc, su2do
7979

8080
/*--- Set the value of the density ---*/
8181

82-
const auto check_dens = check_temp ? true : SetDensity(iPoint, FluidModel->GetDensity());
82+
const auto check_dens = SetDensity(iPoint, FluidModel->GetDensity());
8383

8484
/*--- Non-physical solution found. Revert to old values. ---*/
8585

0 commit comments

Comments
 (0)