mirror of
https://github.com/slsdetectorgroup/aare.git
synced 2026-11-25 03:07:55 +01:00
Fix compiler warning -> ssize_t
This commit is contained in:
1 parent
1b05488173
commit
d3e337d061
1 file changed
+2
-2
@@ -53,8 +53,8 @@ void ApplyRemap(NDView<T, 2> input, NDView<ssize_t, 2> 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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user