Skip to content
Snippets Groups Projects
Commit 9e7a21ae authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

don't issue error if no homology requests are made

parent 13078851
No related branches found
No related tags found
No related merge requests found
...@@ -2749,6 +2749,8 @@ void GModel::addHomologyRequest(const std::string &type, std::vector<int> &domai ...@@ -2749,6 +2749,8 @@ void GModel::addHomologyRequest(const std::string &type, std::vector<int> &domai
void GModel::computeHomology() void GModel::computeHomology()
{ {
if(_homologyRequests.empty()) return;
#if defined(HAVE_KBIPACK) #if defined(HAVE_KBIPACK)
// find unique domain/subdomain requests // find unique domain/subdomain requests
typedef std::pair<std::vector<int>, std::vector<int> > dpair; typedef std::pair<std::vector<int>, std::vector<int> > dpair;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment