From d3e337d06197880dbe49ab2057f5f3ca99c0bdc3 Mon Sep 17 00:00:00 2001 From: vhinger Date: Thu, 16 Jul 2026 19:39:24 +0200 Subject: [PATCH] Fix compiler warning -> ssize_t --- include/aare/RemapAlgorithm.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/aare/RemapAlgorithm.hpp b/include/aare/RemapAlgorithm.hpp index ed816c0..756122b 100644 --- a/include/aare/RemapAlgorithm.hpp +++ b/include/aare/RemapAlgorithm.hpp @@ -53,8 +53,8 @@ void ApplyRemap(NDView input, NDView order_map, const auto nrows = order_map.shape(0); const auto ncols = order_map.shape(1); - for (size_t row = 0; row < nrows; ++row) { - for (size_t col = 0; col < ncols; ++col) { + for (ssize_t row = 0; row < nrows; ++row) { + for (ssize_t col = 0; col < ncols; ++col) { auto flat_index = order_map(row, col);