From ce724890e6b15b77b110c909335a825fee9f24e9 Mon Sep 17 00:00:00 2001 From: "Jack S. Hale" Date: Mon, 18 Nov 2024 13:26:47 +0100 Subject: [PATCH] Revert. --- cpp/dolfinx/graph/ordering.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cpp/dolfinx/graph/ordering.cpp b/cpp/dolfinx/graph/ordering.cpp index 187e88e529..df41220546 100644 --- a/cpp/dolfinx/graph/ordering.cpp +++ b/cpp/dolfinx/graph/ordering.cpp @@ -209,8 +209,7 @@ gps_reorder_unlabelled(const graph::AdjacencyList& graph, std::vector> lvp(n); for (int i = 0; i < k; ++i) { - std::span lv_links = lv.links(i); - for (std::size_t w : lv_links) + for (int w : lv.links(i)) lvp[w][0] = i; for (int w : lu.links(i)) lvp[w][1] = k - 1 - i;