Skip to content
Snippets Groups Projects
Commit c1f63aaf authored by Jonathan Lambrechts's avatar Jonathan Lambrechts
Browse files

fix remove physical group without geo internals

parent e362433b
No related branches found
No related tags found
No related merge requests found
......@@ -1027,6 +1027,9 @@ bool GEO_Internals::modifyPhysicalGroup(int dim, int tag, int op,
Msg::Error("Physical %s %d already exists", str.c_str(), tag);
return false;
}
else if(!p && op == 2) {
return true;
}
else if(!p && op > 0) {
Msg::Error("Physical %s %d does not exist", str.c_str(), tag);
return false;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment