Skip to content
Snippets Groups Projects
Commit 204888c0 authored by Tom Fischer's avatar Tom Fischer
Browse files

made the behaviour of Edge::reviseElement() the same as other classes

parent e5b21b57
No related branches found
No related tags found
No related merge requests found
...@@ -61,9 +61,9 @@ Element* Edge::reviseElement() const ...@@ -61,9 +61,9 @@ Element* Edge::reviseElement() const
{ {
if (_nodes[0] == _nodes[1]) { if (_nodes[0] == _nodes[1]) {
return NULL; return NULL;
} else {
return new Edge(*this);
} }
return NULL;
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment