From c1d16a64385bfae2353d3ec3771f5575aeddf2ed Mon Sep 17 00:00:00 2001 From: Algiane Date: Fri, 20 Oct 2017 16:16:42 +0200 Subject: [PATCH] Patch a valgrind error over the swap/split/collapse numbers in mmg3d. --- CMakeLists.txt | 2 +- src/mmg3d/mmg3d1.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 74fc8d453..06e3ebdd2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 "0" ) +SET (CMAKE_RELEASE_VERSION_PATCH "1" ) SET (CMAKE_RELEASE_DATE "Apr. 10, 2017" ) SET (CMAKE_RELEASE_VERSION diff --git a/src/mmg3d/mmg3d1.c b/src/mmg3d/mmg3d1.c index 3704794e5..98539d813 100644 --- a/src/mmg3d/mmg3d1.c +++ b/src/mmg3d/mmg3d1.c @@ -1947,6 +1947,7 @@ int _MMG5_anatet(MMG5_pMesh mesh,MMG5_pSol met,char typchk, int patternMode) { int ier,nc,ns,nf,nnc,nns,nnf,it,minit,maxit,lastit; /* analyze tetras : initial splitting */ + ns = nc = nf = 0; nns = nnc = nnf = it = 0; lastit = 0; minit = 3;