diff options
author | CNugteren <web@cedricnugteren.nl> | 2016-05-08 21:11:37 +0200 |
---|---|---|
committer | CNugteren <web@cedricnugteren.nl> | 2016-05-08 21:11:37 +0200 |
commit | 942912daeb4e1d84820d813c1d3c03eae5361449 (patch) | |
tree | 97eec06468cf252830a3817f18ac04536b137dfa /test/correctness/testblas.cc | |
parent | c5730c8b438c2c2a03f3f93c14b111877b98a03f (diff) |
Fixes for compilation of the tests under Visual Studio 2015
Diffstat (limited to 'test/correctness/testblas.cc')
-rw-r--r-- | test/correctness/testblas.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/correctness/testblas.cc b/test/correctness/testblas.cc index 1f83c59b..e70c0361 100644 --- a/test/correctness/testblas.cc +++ b/test/correctness/testblas.cc @@ -145,8 +145,8 @@ void TestBlas<T,U>::TestRegular(std::vector<Arguments<U>> &test_vector, const st if (!TestSimilarity(result1[index], result2[index])) { errors++; if (verbose_) { - if (get_id2_(args) == 1) { fprintf(stdout, "\n Error at index %lu: ", id1); } - else { fprintf(stdout, "\n Error at %lu,%lu: ", id1, id2); } + if (get_id2_(args) == 1) { fprintf(stdout, "\n Error at index %zu: ", id1); } + else { fprintf(stdout, "\n Error at %zu,%zu: ", id1, id2); } std::cout << result1[index]; fprintf(stdout, " (reference) versus "); std::cout << result2[index]; |