mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 05:20:34 +05:00
fix error in debug mode
This commit is contained in:
parent
ab32cda827
commit
9df9eeca0b
@ -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;
|
||||
}
|
||||
|
@ -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);
|
||||
}))
|
||||
;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user