Commit eb0d26b5 authored by Andrey Pavlenko's avatar Andrey Pavlenko

fixing warning on shadowing local var (TEST_CYCLE_MULTIRUN uses 'r')

parent 3a0e26b8
......@@ -28,8 +28,8 @@ PERF_TEST_P(Size_Source, calcHist1d,
int dims = 1;
int numberOfImages = 1;
const float r[] = {rangeLow, rangeHight};
const float* ranges[] = {r};
const float range[] = {rangeLow, rangeHight};
const float* ranges[] = {range};
randu(source, rangeLow, rangeHight);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment