diff --git a/src/t8_forest/t8_forest.c b/src/t8_forest/t8_forest.c index 8ad4c9ffe0..0f414c220e 100644 --- a/src/t8_forest/t8_forest.c +++ b/src/t8_forest/t8_forest.c @@ -71,16 +71,7 @@ t8_forest_is_initialized (t8_forest_t forest) int t8_forest_is_committed (const t8_forest_t forest) { - if (!(forest != NULL && t8_refcount_is_active (&forest->rc) && forest->committed)) { - return 0; - } -#ifdef T8_ENABLE_DEBUG - /* TODO: check more conditions that must always hold after commit */ - if (0) { - return 0; - } -#endif - return 1; + return forest != NULL && t8_refcount_is_active (&forest->rc) && forest->committed; } static void