Skip to content

Commit 0ad7a02

Browse files
authored
Update SU2_CFD/include/numerics/CNumerics.hpp
1 parent 520b978 commit 0ad7a02

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

SU2_CFD/include/numerics/CNumerics.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -651,6 +651,7 @@ class CNumerics {
651651
const Vec2& var_i, const Vec2& var_j,
652652
su2double* projNormal,
653653
su2double* projCorrected) {
654+
assert(nDim == 2 || nDim == 3);
654655
nDim = (nDim > 2)? 3 : 2;
655656
su2double edgeVec[MAXNDIM], dist_ij_2 = 0.0, proj_vector_ij = 0.0;
656657

0 commit comments

Comments
 (0)