From 6c19349104bcc7f8a94ddb65e33b332606f3ef93 Mon Sep 17 00:00:00 2001 From: David Knapp Date: Thu, 27 Feb 2025 11:20:26 +0100 Subject: [PATCH] Remove double <0 check --- src/t8_schemes/t8_standalone/t8_standalone_implementation.hxx | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/t8_schemes/t8_standalone/t8_standalone_implementation.hxx b/src/t8_schemes/t8_standalone/t8_standalone_implementation.hxx index 5c013a2732..cc204933ec 100644 --- a/src/t8_schemes/t8_standalone/t8_standalone_implementation.hxx +++ b/src/t8_schemes/t8_standalone/t8_standalone_implementation.hxx @@ -1586,8 +1586,6 @@ struct t8_standalone_scheme static constexpr t8_linearidx_t num_descendants_at_leveldiff (const t8_element_t *elem, const t8_element_level leveldiff) noexcept { - if (leveldiff < 0) - return 0; if constexpr (TEclass == T8_ECLASS_PYRAMID) { SC_ABORT ("Not implemented yet.\n"); }