From 23e9659215c0ec09705e12b70b9a047f5ee34040 Mon Sep 17 00:00:00 2001 From: Simon Frasch Date: Tue, 9 Apr 2024 17:21:58 +0200 Subject: [PATCH] fix warning --- arbor/communication/distributed_for_each.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arbor/communication/distributed_for_each.hpp b/arbor/communication/distributed_for_each.hpp index 7024a59f7b..2a1399639b 100644 --- a/arbor/communication/distributed_for_each.hpp +++ b/arbor/communication/distributed_for_each.hpp @@ -110,7 +110,7 @@ void distributed_for_each(FUNC&& func, arg_tuple, ranges); - for (std::size_t step = 0; step < distributed.size(); ++step) { std::apply(func, ranges); } + for (int step = 0; step < distributed.size(); ++step) { std::apply(func, ranges); } return; }