From 9153698ad7a30dbc392edc713d10b20bee779311 Mon Sep 17 00:00:00 2001 From: schnellerhase <56360279+schnellerhase@users.noreply.github.com> Date: Mon, 19 Aug 2024 12:51:29 +0200 Subject: [PATCH] Apply suggestion --- cpp/test/matrix.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/test/matrix.cpp b/cpp/test/matrix.cpp index 53f23f5d48c..abdb4feea72 100644 --- a/cpp/test/matrix.cpp +++ b/cpp/test/matrix.cpp @@ -234,7 +234,7 @@ void test_matrix() auto to_global_col = [&](auto col) { - std::vector tmp(1); + std::array tmp; A.index_map(1)->local_to_global(std::vector{col}, tmp); return tmp[0]; };