spectrum: Fix clang-tidy bugprone-too-small-loop-variable warning

This commit is contained in:
Eduardo Almeida
2023-09-14 02:35:38 +01:00
parent f7a02d6265
commit 2d1adc22da

View File

@@ -2314,7 +2314,7 @@ ThreeGppChannelModel::CalcAttenuationOfBlockage(
}
// step c: Determine the attenuation of each blocker due to blockers
for (uint8_t cInd = 0; cInd < clusterNum; cInd++)
for (std::size_t cInd = 0; cInd < clusterNum; cInd++)
{
NS_ASSERT_MSG(clusterAOA[cInd] >= 0 && clusterAOA[cInd] <= 360,
"the AOA should be the range of [0,360]");