From: guido Date: Wed, 11 Feb 2004 10:27:04 +0000 (+0000) Subject: allow writing Tensor to LogStream X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=733a28412144342f147e8004b09810da02ba1150;p=dealii-svn.git allow writing Tensor to LogStream git-svn-id: https://svn.dealii.org/trunk@8457 0785d39b-7218-0410-832d-ea1e28bc413d --- 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