diff --git a/libsrc/meshing/meshtype.hpp b/libsrc/meshing/meshtype.hpp index c1813849..6105cc70 100644 --- a/libsrc/meshing/meshtype.hpp +++ b/libsrc/meshing/meshtype.hpp @@ -360,7 +360,7 @@ namespace netgen { #ifdef DEBUG if (typ != QUAD && typ != QUAD6 && typ != QUAD8) - PrintSysError ("element2d::GetNV not implemented for typ", typ) + PrintSysError ("element2d::GetNV not implemented for typ", typ); #endif return 4; } diff --git a/libsrc/meshing/python_mesh.cpp b/libsrc/meshing/python_mesh.cpp index 7abb91f1..739f0e65 100644 --- a/libsrc/meshing/python_mesh.cpp +++ b/libsrc/meshing/python_mesh.cpp @@ -58,10 +58,10 @@ void ExportNetgenMeshing() .add_property("p", FunctionPointer([](const MeshPoint & self) { bp::list l; - l.append ( (self)[0] ); - l.append ( (self)[1] ); - l.append ( (self)[2] ); - return l; + l.append ( self[0] ); + l.append ( self[1] ); + l.append ( self[2] ); + return bp::tuple(l); })) ;