Fix build in windows

This commit is contained in:
Daniel Santos-Oliván 2020-11-10 17:37:24 +01:00 committed by Marc Garcia Puig
parent 6bbc0bd9f2
commit 8f569e7cd2
1 changed files with 2 additions and 2 deletions

View File

@ -99,8 +99,8 @@ ARayCastLidar::FDetection ARayCastLidar::ComputeDetection(const FHitResult& HitI
void ARayCastLidar::PreprocessRays(uint32_t Channels, uint32_t MaxPointsPerChannel) {
Super::PreprocessRays(Channels, MaxPointsPerChannel);
for (auto ch = 0; ch < Channels; ch++) {
for (auto p = 0; p < MaxPointsPerChannel; p++) {
for (auto ch = 0u; ch < Channels; ch++) {
for (auto p = 0u; p < MaxPointsPerChannel; p++) {
RayPreprocessCondition[ch][p] = !(DropOffGenActive && RandomEngine->GetUniformFloat() < Description.DropOffGenRate);
}
}