diff --git a/SU2_CFD/src/fluid/CNEMOGas.cpp b/SU2_CFD/src/fluid/CNEMOGas.cpp index 10114674ad5c..165896a15f35 100644 --- a/SU2_CFD/src/fluid/CNEMOGas.cpp +++ b/SU2_CFD/src/fluid/CNEMOGas.cpp @@ -229,7 +229,7 @@ void CNEMOGas::ComputedPdU(su2double *V, vector& val_eves, su2double void CNEMOGas::ComputedTdU(su2double *V, su2double *val_dTdU){ su2double v2, ef, rhoCvtr; - su2double Vel[nDim] = {0.0}; + su2double Vel[3] = {0.0}; /*--- Necessary indexes to assess primitive variables ---*/ unsigned long VEL_INDEX = nSpecies+2;