fix error in debug mode

This commit is contained in:
Joachim Schoeberl 2014-11-24 16:23:34 +00:00
parent ab32cda827
commit 9df9eeca0b
2 changed files with 5 additions and 5 deletions

View File

@ -360,7 +360,7 @@ namespace netgen
{ {
#ifdef DEBUG #ifdef DEBUG
if (typ != QUAD && typ != QUAD6 && typ != QUAD8) if (typ != QUAD && typ != QUAD6 && typ != QUAD8)
PrintSysError ("element2d::GetNV not implemented for typ", typ) PrintSysError ("element2d::GetNV not implemented for typ", typ);
#endif #endif
return 4; return 4;
} }

View File

@ -58,10 +58,10 @@ void ExportNetgenMeshing()
.add_property("p", FunctionPointer([](const MeshPoint & self) .add_property("p", FunctionPointer([](const MeshPoint & self)
{ {
bp::list l; bp::list l;
l.append ( (self)[0] ); l.append ( self[0] );
l.append ( (self)[1] ); l.append ( self[1] );
l.append ( (self)[2] ); l.append ( self[2] );
return l; return bp::tuple(l);
})) }))
; ;