diff --git a/Geo/Homology.cpp b/Geo/Homology.cpp index 243c49440af93b9f54caf31215d70e359adf28a4..bcb1390739c1762151ea162d4c25cb900eeee7c0 100644 --- a/Geo/Homology.cpp +++ b/Geo/Homology.cpp @@ -138,7 +138,7 @@ void Homology::findGenerators(std::string fileName) chains->getTorsion(j,i)); t1 = Cpu(); int start = chain->getSize(); - chain->smoothenChain(); + //chain->smoothenChain(); t2 = Cpu(); Msg::Info("Smoothened H%d %d from %d cells to %d cells (%g s).", j, i, start, chain->getSize(), t2 - t1); diff --git a/contrib/kbipack/mpz.c b/contrib/kbipack/mpz.c index d6aced63de273d2a48e48be8b2f85594c9731ddd..3ec1b2a4df903daf72da4651e68ec3bf407e07f4 100755 --- a/contrib/kbipack/mpz.c +++ b/contrib/kbipack/mpz.c @@ -19,11 +19,13 @@ #if ! defined(HAVE_GMP) +#include "GmshMessage.cpp" #include "limits.h" void overflow() { printf("ERROR: Integer overflow detected! Compile with GMP library to fix this. \n"); + Msg::Error("Integer overflow detected! Compile with GMP library to fix this. \n"); } long int addcheck(long int a, long int b){