Skip to content

Commit

Permalink
Tiny improvement.
Browse files Browse the repository at this point in the history
Summary: In D59489331 some (partially) unused variables were found. In order to avoid adding a dependency on folly, we're applying this change.

Reviewed By: janherling

Differential Revision: D59492411

fbshipit-source-id: 18d5a6b1ebf771e5fa908a7c6e9b15ee20ebef7e
  • Loading branch information
enpe authored and facebook-github-bot committed Jul 9, 2024
1 parent 0915755 commit 625fa1c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions impl/ocean/test/testcv/testopencv/TestHistogram.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,6 @@ bool TestHistogram::testCLAHE(const double testDuration)

// Validation
bool validationSuccessful = true;
unsigned int totalIterationValidation = 0u;

for (unsigned int iter = 0u; iter < 2u; ++iter)
{
Expand Down Expand Up @@ -232,9 +231,8 @@ bool TestHistogram::testCLAHE(const double testDuration)
iterValidationSuccessful = false;
}
}

totalIterationValidation++;
} while (startTimeValidation + testDuration > Timestamp(true));
}
while (startTimeValidation + testDuration > Timestamp(true));

Log::info() << "Validation (" << (imageSizeMultipleOfTiles ? "image size multiple of tiles count" : "image size random") << "): " << (iterValidationSuccessful ? "passed" : "FAILED");
Log::info() << "Max. validation error: " << String::toAString(maxMeasuredError, 3u);
Expand Down

0 comments on commit 625fa1c

Please sign in to comment.