We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a2f950 commit 2541151Copy full SHA for 2541151
1 file changed
SU2_CFD/src/solvers/CSolver.cpp
@@ -363,8 +363,8 @@ void CSolver::InitiatePeriodicComms(CGeometry *geometry,
363
364
auto *Diff = new su2double[nVar];
365
auto *Und_Lapl = new su2double[nVar];
366
- auto *Sol_Min = new su2double[nVar];
367
- auto *Sol_Max = new su2double[nVar];
+ auto *Sol_Min = new su2double[nPrimVarGrad];
+ auto *Sol_Max = new su2double[nPrimVarGrad];
368
auto *rotPrim_i = new su2double[nPrimVar];
369
auto *rotPrim_j = new su2double[nPrimVar];
370
0 commit comments