]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Small fix to avoid warning in output operator.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Tue, 26 May 1998 09:01:28 +0000 (09:01 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Tue, 26 May 1998 09:01:28 +0000 (09:01 +0000)
git-svn-id: https://svn.dealii.org/trunk@365 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/include/grid/point.h

index a5418aa307180ae3f7b513206ca3eef573fddfc8..d603d8632bdfa96ab69fa70d9cb44847f4e04a1b 100644 (file)
@@ -399,6 +399,16 @@ ostream & operator << (ostream &out, const Point<dim> &p) {
 };
 
 
+template <>
+inline
+ostream & operator << (ostream &out, const Point<1> &p) {
+  out << p(0);
+  return out;
+};
+  
+
+
+
 
 /*----------------------------   point.h     ---------------------------*/
 /* end of #ifndef __point_H */

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.