mirror of
https://github.com/NGSolve/netgen.git
synced 2025-03-18 20:47:56 +05:00
remove debug cout
This commit is contained in:
parent
36c9201ffc
commit
8cde49627b
@ -708,7 +708,6 @@ DLL_HEADER void ExportNgOCCShapes(py::module &m)
|
||||
py::object py_this = shape.attr("this");
|
||||
PyObject* obj = py_this.ptr();
|
||||
SwigPyObject* swig_obj = reinterpret_cast<SwigPyObject*>(obj);
|
||||
cout << "swig type = " << swig_obj->ty->name << endl;
|
||||
if (!swig_obj->ptr || !swig_obj->ty || !swig_obj->ty->name) {
|
||||
throw std::runtime_error("SWIG object does not contain a valid pointer");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user