diff --git a/qft++/tensor/Tensor.tcc b/qft++/tensor/Tensor.tcc index 4e4ab1fab8a50ef51761f63ac7688dcd1e19b61b..7d4ab5176987777514553cb823881ebab168c838 100644 --- a/qft++/tensor/Tensor.tcc +++ b/qft++/tensor/Tensor.tcc @@ -303,8 +303,8 @@ void Tensor<_Tp>::Print(std::ostream& __os) const { __os << "}"; } else{ - cout << "<Tensor::Print(ostream&)> Error! Can NOT print a Tensor with " - << " Rank "<< _rank << " > 2." << endl; + __os << "<Tensor::Print(ostream&)> Error! Can NOT print a Tensor with " + << " Rank "<< _rank << " > 2."; } } //_____________________________________________________________________________