]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix for MSVC: template argument was a preprocessor macro defined in minwindef.h 1613/head
authorLukas Korous <lukas.korous@gmail.com>
Tue, 15 Sep 2015 16:00:30 +0000 (18:00 +0200)
committerLukas Korous <lukas.korous@gmail.com>
Tue, 15 Sep 2015 16:00:30 +0000 (18:00 +0200)
include/deal.II/lac/tridiagonal_matrix.h

index 517d65c178faf2c2d035d38f3971db84478a2684..e928d5bc07b5010c8627a4758567e3841c989518 100644 (file)
@@ -241,10 +241,10 @@ public:
   /**
    * Output of the matrix in user-defined format.
    */
-  template <class OUT>
-  void print (OUT &s,
-              const unsigned int  width=5,
-              const unsigned int  precision=2) const;
+  template <class OutputStream>
+  void print(OutputStream &s,
+             const unsigned int  width=5,
+             const unsigned int  precision=2) const;
 
   /**
    * Determine an estimate for the memory consumption (in bytes) of this
@@ -369,10 +369,10 @@ TridiagonalMatrix<number>::operator()(size_type i, size_type j)
 
 
 template <typename number>
-template <class OUT>
+template <class OutputStream>
 void
 TridiagonalMatrix<number>::print (
-  OUT &s,
+  OutputStream &s,
   const unsigned int width,
   const unsigned int) const
 {

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.