From 733a28412144342f147e8004b09810da02ba1150 Mon Sep 17 00:00:00 2001 From: guido Date: Wed, 11 Feb 2004 10:27:04 +0000 Subject: [PATCH] allow writing Tensor to LogStream git-svn-id: https://svn.dealii.org/trunk@8457 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/base/include/base/tensor.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/deal.II/base/include/base/tensor.h b/deal.II/base/include/base/tensor.h index 752c7a1ba5..31fbf27c81 100644 --- a/deal.II/base/include/base/tensor.h +++ b/deal.II/base/include/base/tensor.h @@ -402,10 +402,12 @@ Tensor::memory_consumption () * Output operator for tensors. Print the elements consecutively, with * a space in between, two spaces between rank 1 subtensors, three * between rank 2 and so on. + * + * @relates Tensor */ -template +template inline -std::ostream & operator << (std::ostream &out, const Tensor &p) +STREAM & operator << (STREAM &out, const Tensor &p) { for (unsigned int i=0; i