mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 05:20:34 +05:00
fix warning by throwing
This commit is contained in:
parent
2982427d34
commit
331e47830e
@ -1021,6 +1021,7 @@ DLL_HEADER void ExportNetgenMeshing(py::module &m)
|
||||
case 3:
|
||||
return (*self.hpelements)[self[ElementIndex(elnr)].GetHpElnr()].coarse_elnr;
|
||||
}
|
||||
throw Exception ("MacroElementNr not implemented for dim");
|
||||
}, py::arg("elnr"), py::arg("dim")=nullopt, "number of macro element of element number elnr")
|
||||
.def("FaceDescriptor", static_cast<FaceDescriptor&(Mesh::*)(int)> (&Mesh::GetFaceDescriptor),
|
||||
py::return_value_policy::reference)
|
||||
|
Loading…
Reference in New Issue
Block a user