diff --git a/source/pwrapper/registry.cpp b/source/pwrapper/registry.cpp index 91305058..9544a490 100644 --- a/source/pwrapper/registry.cpp +++ b/source/pwrapper/registry.cpp @@ -393,6 +393,11 @@ void WrapperRegistry::addConstants(PyObject* module) { #else PyModule_AddObject(module,"GUI",Manta::toPy(false)); #endif +#ifdef DOUBLEPRECISION + PyModule_AddObject(module,"DOUBLEPRECISION",Manta::toPy(true)); +#else + PyModule_AddObject(module,"DOUBLEPRECISION",Manta::toPy(false)); +#endif } void WrapperRegistry::runPreInit() { @@ -648,4 +653,4 @@ Register::Register(InitFunc func) { WrapperRegistry::instance().addExternalInitializer(func); } -} // namespace \ No newline at end of file +} // namespace