Skip to content

Commit 60428af

Browse files
authored
Merge pull request #1113 from su2code/nDim_fix
Fix for nDim initialization causing macos builds in develop
2 parents 273ff81 + eadce0d commit 60428af

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

SU2_CFD/src/fluid/CNEMOGas.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ void CNEMOGas::ComputedPdU(su2double *V, vector<su2double>& val_eves, su2double
229229
void CNEMOGas::ComputedTdU(su2double *V, su2double *val_dTdU){
230230

231231
su2double v2, ef, rhoCvtr;
232-
su2double Vel[nDim] = {0.0};
232+
su2double Vel[3] = {0.0};
233233

234234
/*--- Necessary indexes to assess primitive variables ---*/
235235
unsigned long VEL_INDEX = nSpecies+2;

0 commit comments

Comments
 (0)