Skip to content

Commit

Permalink
Fix an error in the edge count since the previous hotfix (for meshes …
Browse files Browse the repository at this point in the history
…with required edges between triangles with same reference).
  • Loading branch information
Algiane committed Oct 30, 2017
1 parent 29fbfa5 commit 19f0663
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ MARK_AS_ADVANCED ( CI_DIR )
###############################################################################
SET (CMAKE_RELEASE_VERSION_MAJOR "5" )
SET (CMAKE_RELEASE_VERSION_MINOR "3" )
SET (CMAKE_RELEASE_VERSION_PATCH "3" )
SET (CMAKE_RELEASE_VERSION_PATCH "4" )
SET (CMAKE_RELEASE_DATE "Apr. 10, 2017" )

SET (CMAKE_RELEASE_VERSION
Expand Down
2 changes: 1 addition & 1 deletion src/mmg2d/hash_2d.c
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ int MMG2_pack(MMG5_pMesh mesh,MMG5_pSol sol) {
else if ( iel < k ) {
pt1 = &mesh->tria[iel];
if ( pt->ref != pt1->ref ) ++mesh->na;
if ( MG_SIN(pt->tag[i]) ) ++mesh->na;
else if ( MG_SIN(pt->tag[i]) ) ++mesh->na;
}
}
}
Expand Down

0 comments on commit 19f0663

Please sign in to comment.