Skip to content

Commit

Permalink
Fixing shadow issue
Browse files Browse the repository at this point in the history
  • Loading branch information
dcoeurjo committed Nov 11, 2014
1 parent c7547e1 commit 70f8ced
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/images/benchmarkImageContainer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,12 @@ BENCHMARK_TEMPLATE(BM_Constructor, ImageMap2)->Range(1<<3 , 1 << 16);
BENCHMARK_TEMPLATE(BM_Constructor, ImageHash2)->Range(1<<3 , 1 << 16);

template<typename Point>
std::set<Point> ConstructRandomSet(int size, int maxWidth) {
std::set<Point> ConstructRandomSet(unsigned int size, unsigned int maxWidth) {
std::set<Point> s;
Point p;
for (int i = 0; i < size; ++i)
for (unsigned int i = 0; i < size; ++i)
{
for(int j=0; j < Point::dimension; j++)
for(unsigned int j=0; j < Point::dimension; j++)
p[j] = rand() % maxWidth;
s.insert( p );
}
Expand Down

0 comments on commit 70f8ced

Please sign in to comment.