Skip to content

Commit ddb38d4

Browse files
committed
fix random bug in Check_IntElem_Orientation
1 parent 79e6e43 commit ddb38d4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Common/src/geometry/CPhysicalGeometry.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4318,7 +4318,7 @@ void CPhysicalGeometry::Check_IntElem_Orientation(const CConfig *config) {
43184318

43194319
if (elem[iElem]->GetVTK_Type() == TETRAHEDRON) {
43204320

4321-
if (checkTetra(iElem,0,1,2,3) < 0.0) {
4321+
if (checkTetra(iElem,0,1,2,3)) {
43224322
elem[iElem]->Change_Orientation();
43234323
tet_flip++;
43244324
}

0 commit comments

Comments
 (0)