From c3f62f1f1eab22edea27c99e7043e71c52ac0b03 Mon Sep 17 00:00:00 2001
From: Bertram Kopf <bertram@ep1.rub.de>
Date: Tue, 12 Dec 2023 12:34:05 +0100
Subject: [PATCH] modified printout in Tensor.tcc

---
 qft++/tensor/Tensor.tcc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/qft++/tensor/Tensor.tcc b/qft++/tensor/Tensor.tcc
index 4e4ab1fa..7d4ab517 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.";
   }
 }
 //_____________________________________________________________________________
-- 
GitLab