mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-26 05:50:32 +05:00
remove debug output
This commit is contained in:
parent
bd29763b16
commit
a8da814c19
@ -29,10 +29,7 @@ namespace ngcore {
|
|||||||
#ifdef NETGEN_PYTHON
|
#ifdef NETGEN_PYTHON
|
||||||
info.anyToPyCaster = [](const std::any& a)
|
info.anyToPyCaster = [](const std::any& a)
|
||||||
{
|
{
|
||||||
std::cout << "call anytopycast on " << Demangle(a.type().name()) << std::endl;
|
|
||||||
const T* val = std::any_cast<T>(&a);
|
const T* val = std::any_cast<T>(&a);
|
||||||
if(!val)
|
|
||||||
throw Exception("Incorrect type in any object!");
|
|
||||||
return pybind11::cast(val); };
|
return pybind11::cast(val); };
|
||||||
#endif // NETGEN_PYTHON
|
#endif // NETGEN_PYTHON
|
||||||
Archive::SetArchiveRegister(std::string(Demangle(typeid(T).name())),info);
|
Archive::SetArchiveRegister(std::string(Demangle(typeid(T).name())),info);
|
||||||
|
Loading…
Reference in New Issue
Block a user