diff --git a/Geo/GModel.cpp b/Geo/GModel.cpp index 69d2047fc6656f88ccc32c4dfac20b89a14a31a9..2d5a1ca396b80b48e2db68ca9772fd67da51c912 100644 --- a/Geo/GModel.cpp +++ b/Geo/GModel.cpp @@ -2749,6 +2749,8 @@ void GModel::addHomologyRequest(const std::string &type, std::vector<int> &domai void GModel::computeHomology() { + if(_homologyRequests.empty()) return; + #if defined(HAVE_KBIPACK) // find unique domain/subdomain requests typedef std::pair<std::vector<int>, std::vector<int> > dpair;