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

bug fix from trunk

parent 5e8011d5
No related branches found
No related tags found
No related merge requests found
......@@ -963,7 +963,7 @@ class elementFactory{
case 1: return new line(x, y, z, copy ? numNodes : 0);
case 2:
if(numNodes == 4) return new quadrangle(x, y, z, copy ? numNodes : 0);
else return new triangle(x, y, z, copy);
else return new triangle(x, y, z, copy ? numNodes : 0);
case 3:
if(numNodes == 8) return new hexahedron(x, y, z, copy ? numNodes : 0);
else if(numNodes == 6) return new prism(x, y, z, copy ? numNodes : 0);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment