Test if pyceres is available
| 460 | |
| 461 | // Test if pyceres is available |
| 462 | inline bool IsPyceresAvailable() { |
| 463 | try { |
| 464 | py::module::import("pyceres"); |
| 465 | } catch (const py::error_already_set&) { |
| 466 | return false; |
| 467 | } |
| 468 | return true; |
| 469 | } |
| 470 | |
| 471 | template <typename Parent> |
| 472 | inline void DefDeprecation( |
no outgoing calls
no test coverage detected