From 8145c27b008a2392c26b32f1ca298affc78e01b4 Mon Sep 17 00:00:00 2001 From: Luc Grosheintz Date: Fri, 26 Jul 2024 10:42:57 +0200 Subject: [PATCH] Remove pointless `static`. (#1035) --- tests/unit/data_generator.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/data_generator.hpp b/tests/unit/data_generator.hpp index e4e7dfa85..d8342b634 100644 --- a/tests/unit/data_generator.hpp +++ b/tests/unit/data_generator.hpp @@ -68,7 +68,7 @@ std::vector unravel(size_t flat_index, const Dims& dims) { } template -static size_t flat_size(const Dims& dims) { +size_t flat_size(const Dims& dims) { size_t n = 1; for (auto d: dims) { n *= d;