Add support for OSX in BTL and fix a few warnings

This commit is contained in:
Gael Guennebaud
2014-03-07 23:11:38 +01:00
parent ce41b72eb8
commit 33ca9b4ee6
8 changed files with 65 additions and 17 deletions

View File

@@ -102,8 +102,8 @@ BTL_DONT_INLINE void bench( int size_min, int size_max, int nb_point )
// merge the two data
std::vector<int> newSizes;
std::vector<double> newFlops;
int i=0;
int j=0;
unsigned int i=0;
unsigned int j=0;
while (i<tab_sizes.size() && j<oldSizes.size())
{
if (tab_sizes[i] == oldSizes[j])