diff --git a/dune/istl/supermatrix.hh b/dune/istl/supermatrix.hh
index f19fa1555c0c39547415eceb052f76b295f6316c..d3400525a581b04f17053c4ae67adf7be94c2c5d 100644
--- a/dune/istl/supermatrix.hh
+++ b/dune/istl/supermatrix.hh
@@ -538,6 +538,8 @@ namespace Dune
     initializer.createMatrix();
   }
 
+#ifndef DOXYGEN
+
   template<class B, class TA, int n, int m>
   bool SuperLUMatrix<BCRSMatrix<FieldMatrix<B,n,m>,TA> >::operator==(const BCRSMatrix<FieldMatrix<B,n,m>,TA>& mat) const
   {
@@ -557,12 +559,16 @@ namespace Dune
     return true;
   }
 
+#endif // DOYXGEN
+
   template<class B, class TA, int n, int m>
   bool operator==(SuperLUMatrix<BCRSMatrix<FieldMatrix<B,n,m>,TA> >& sla, BCRSMatrix<FieldMatrix<B,n,m>,TA>& a)
   {
     return a==sla;
   }
 
+#ifndef DOXYGEN
+
   template<class B, class TA, int n, int m>
   SuperLUMatrix<BCRSMatrix<FieldMatrix<B,n,m>,TA> >::SuperLUMatrix()
     : N_(0), M_(0), Nnz_(0), values(0), rowindex(0), colstart(0)
@@ -670,6 +676,8 @@ namespace Dune
     N_=M_=Nnz_=0;
   }
 
+#endif // DOXYGEN
+
 }
 #endif
 #endif