From 31b78d0ad00641f132569cf610b5c0ce7d453c85 Mon Sep 17 00:00:00 2001
From: Mattias Ellert <mattias.ellert@physics.uu.se>
Date: Wed, 18 Jan 2023 13:44:10 +0100
Subject: [PATCH] Compiler warning:

test/testThreadssearch.cc:30:25: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'const int' [-Wsign-compare]
---
 test/testThreadssearch.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/testThreadssearch.cc b/test/testThreadssearch.cc
index b98102c0..89e7f127 100644
--- a/test/testThreadssearch.cc
+++ b/test/testThreadssearch.cc
@@ -27,7 +27,7 @@ std::shared_ptr<GenEvent> generate(const int Z) {
     v1->add_particle_in(b2);
     v1->add_particle_out(b3);
     evt->add_vertex(v1);
-    for (size_t z= 0; z < Z; z++) {
+    for (int z = 0; z < Z; z++) {
         std::vector<GenParticlePtr> particles = evt->particles();
         for (auto p: particles) {
             if (p->end_vertex()) continue;
-- 
GitLab