From c0559c2d863d0aa338bcb941b2ae460af03c9ff6 Mon Sep 17 00:00:00 2001 From: Peter Steinbach Date: Tue, 18 Apr 2017 15:03:24 +0200 Subject: [PATCH] fixed copy and paste error in error messages --- HCStream.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/HCStream.cpp b/HCStream.cpp index b574f57..1fa620b 100644 --- a/HCStream.cpp +++ b/HCStream.cpp @@ -151,7 +151,7 @@ void HCStream::mul() future_kernel.wait(); } catch(std::exception& e){ - std::cerr << __FILE__ << ":" << __LINE__ << "\t HCStream::copy " << e.what() << std::endl; + std::cerr << __FILE__ << ":" << __LINE__ << "\t HCStream::mul " << e.what() << std::endl; throw; } } @@ -173,7 +173,7 @@ void HCStream::add() future_kernel.wait(); } catch(std::exception& e){ - std::cerr << __FILE__ << ":" << __LINE__ << "\t HCStream::copy " << e.what() << std::endl; + std::cerr << __FILE__ << ":" << __LINE__ << "\t HCStream::add " << e.what() << std::endl; throw; } } @@ -195,7 +195,7 @@ void HCStream::triad() future_kernel.wait(); } catch(std::exception& e){ - std::cerr << __FILE__ << ":" << __LINE__ << "\t HCStream::copy " << e.what() << std::endl; + std::cerr << __FILE__ << ":" << __LINE__ << "\t HCStream::triad " << e.what() << std::endl; throw; } }