Skip to content
Snippets Groups Projects
Commit 280784c9 authored by Karsten Rink's avatar Karsten Rink
Browse files

re-introduced invalid case to vtk enum

parent 5c00c780
No related branches found
No related tags found
No related merge requests found
...@@ -92,6 +92,8 @@ int OGSToVtkCellType(CellType ogs) ...@@ -92,6 +92,8 @@ int OGSToVtkCellType(CellType ogs)
return VTK_PYRAMID; return VTK_PYRAMID;
case CellType::PYRAMID13: case CellType::PYRAMID13:
return VTK_QUADRATIC_PYRAMID; return VTK_QUADRATIC_PYRAMID;
case CellType::INVALID:
return -1;
default: default:
return -1; return -1;
} }
......
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