From 9b77de8d6c4edab8a7e72db95dfd1a83f6cf5e35 Mon Sep 17 00:00:00 2001 From: TiborGY Date: Sat, 1 Jun 2019 20:57:45 +0200 Subject: [PATCH] fix warning, make output nicer --- cpp_thread_test/dgemm_thread_safety.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cpp_thread_test/dgemm_thread_safety.cpp b/cpp_thread_test/dgemm_thread_safety.cpp index 8fec43858..cecf794fa 100644 --- a/cpp_thread_test/dgemm_thread_safety.cpp +++ b/cpp_thread_test/dgemm_thread_safety.cpp @@ -77,7 +77,7 @@ int main(int argc, char* argv[]){ //PrintMatrices(matBlock, randomMatSize, numConcurrentThreads, 3); std::cout<<"Comparing results from different threads..."<(randomMatSize*randomMatSize); j++){ if (std::abs(matBlock[i+2][j] - matBlock[2][j]) > 1.0E-13){ //i+2 is the index of matrix C, for a given thread std::cout<<"ERROR: one of the threads returned a different result! Index : "<