From b16c21aa00db1d5c50767caddedffbccd31c78fc Mon Sep 17 00:00:00 2001 From: Sandro Elsweijer <49643115+sandro-elsweijer@users.noreply.github.com> Date: Mon, 21 Oct 2024 11:09:52 +0200 Subject: [PATCH] Fix assertion --- src/t8_forest/t8_forest_iterate.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/t8_forest/t8_forest_iterate.cxx b/src/t8_forest/t8_forest_iterate.cxx index e6abca40ea..609e229c23 100644 --- a/src/t8_forest/t8_forest_iterate.cxx +++ b/src/t8_forest/t8_forest_iterate.cxx @@ -357,7 +357,7 @@ t8_forest_iterate_replace (t8_forest_t forest_new, t8_forest_t forest_old, t8_fo t8_eclass_t eclass = t8_forest_get_tree_class (forest_new, itree); T8_ASSERT (eclass == t8_forest_get_tree_class (forest_old, itree)); t8_eclass_scheme_c *ts = t8_forest_get_eclass_scheme (forest_new, eclass); - T8_ASSERT (ts == t8_forest_get_eclass_scheme (forest_new, eclass)); + T8_ASSERT (ts == t8_forest_get_eclass_scheme (forest_old, eclass)); t8_locidx_t ielem_new = 0; t8_locidx_t ielem_old = 0;