Skip to content
Snippets Groups Projects
Commit a5b893c3 authored by Tobias Winchen's avatar Tobias Winchen
Browse files

Fix signed/unsigned comparision

parent 34b0cb73
Branches
Tags
1 merge request!16Fix detect accumulate in Dualpol Spectrometer
...@@ -585,7 +585,7 @@ TEST_P(ExecutionTests, SinglePolOutput) ...@@ -585,7 +585,7 @@ TEST_P(ExecutionTests, SinglePolOutput)
// 3 Block, set value and SCI // 3 Block, set value and SCI
raw_buffer[122] = int8_t(13); raw_buffer[122] = int8_t(13);
uint64_t* sc_items = reinterpret_cast<uint64_t*>(raw_buffer + params.nHeaps * heapSize); uint64_t* sc_items = reinterpret_cast<uint64_t*>(raw_buffer + params.nHeaps * heapSize);
for (int i = 0; i < params.nHeaps; i++) for (size_t i = 0; i < params.nHeaps; i++)
SET_BIT(sc_items[i], 0); SET_BIT(sc_items[i], 0);
EXPECT_NO_THROW(spectrometer(buff)) << params.msg; EXPECT_NO_THROW(spectrometer(buff)) << params.msg;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment