fixed copy and paste error in error messages

This commit is contained in:
Peter Steinbach 2017-04-18 15:03:24 +02:00
parent a971591cc9
commit c0559c2d86

View File

@ -151,7 +151,7 @@ void HCStream<T>::mul()
future_kernel.wait();
}
catch(std::exception& e){
std::cerr << __FILE__ << ":" << __LINE__ << "\t HCStream<T>::copy " << e.what() << std::endl;
std::cerr << __FILE__ << ":" << __LINE__ << "\t HCStream<T>::mul " << e.what() << std::endl;
throw;
}
}
@ -173,7 +173,7 @@ void HCStream<T>::add()
future_kernel.wait();
}
catch(std::exception& e){
std::cerr << __FILE__ << ":" << __LINE__ << "\t HCStream<T>::copy " << e.what() << std::endl;
std::cerr << __FILE__ << ":" << __LINE__ << "\t HCStream<T>::add " << e.what() << std::endl;
throw;
}
}
@ -195,7 +195,7 @@ void HCStream<T>::triad()
future_kernel.wait();
}
catch(std::exception& e){
std::cerr << __FILE__ << ":" << __LINE__ << "\t HCStream<T>::copy " << e.what() << std::endl;
std::cerr << __FILE__ << ":" << __LINE__ << "\t HCStream<T>::triad " << e.what() << std::endl;
throw;
}
}