diff --git a/fem/elementtransformation.cpp b/fem/elementtransformation.cpp index 937fe46d..cd1752c6 100644 --- a/fem/elementtransformation.cpp +++ b/fem/elementtransformation.cpp @@ -233,6 +233,8 @@ namespace ngfem case ET_PYRAMID: return trafo_pyramid; case ET_HEX: return trafo_hex; } + + throw Exception ("Function GetFEElementTransformation got invalid argument"); }