Skip to content

Commit 83c7a90

Browse files
declare variable nDim when defining it
Update Common/src/interface_interpolation/CInterpolator.cpp Co-authored-by: TobiKattmann <31306376+TobiKattmann@users.noreply.github.com>
1 parent e95cdfa commit 83c7a90

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Common/src/interface_interpolation/CInterpolator.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,11 +157,11 @@ void CInterpolator::ReconstructBoundary(unsigned long val_zone, int val_marker)
157157

158158
unsigned long iVertex, kVertex;
159159

160-
unsigned long *uptr, nVertex, nElems, iDim, nDim, iPoint;
160+
unsigned long *uptr, nVertex, nElems, iDim, iPoint;
161161

162162
unsigned long nGlobalLinkedNodes, nLocalVertex, nLocalLinkedNodes;
163163

164-
nDim = geom->GetnDim();
164+
const auto nDim = geom->GetnDim();
165165

166166
/*--- If this zone has no parts of the marker, it will not participate
167167
* in the first part of this function (collection). ---*/

0 commit comments

Comments
 (0)