Skip to content

Commit c78761e

Browse files
committed
fix lambda
1 parent d6be66a commit c78761e

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

SU2_CFD/src/solvers/CSolver.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -372,8 +372,7 @@ void CSolver::InitiatePeriodicComms(CGeometry *geometry,
372372
const su2double zeros[3] = {0.0};
373373
su2activematrix Cvector;
374374

375-
auto Rotate = [nDim,&rotMatrix2D,&rotMatrix3D](const su2double* origin,
376-
const su2double* direction, su2double* rotated) {
375+
auto Rotate = [&](const su2double* origin, const su2double* direction, su2double* rotated) {
377376
if(nDim==2) GeometryToolbox::Rotate(rotMatrix2D, origin, direction, rotated);
378377
else GeometryToolbox::Rotate(rotMatrix3D, origin, direction, rotated);
379378
};

0 commit comments

Comments
 (0)