]> https://gitweb.dealii.org/ - dealii.git/commitdiff
fix compiler warning in DiagonalMatrix 3675/head
authorDenis Davydov <davydden@gmail.com>
Thu, 15 Dec 2016 16:20:13 +0000 (17:20 +0100)
committerDenis Davydov <davydden@gmail.com>
Thu, 15 Dec 2016 16:20:13 +0000 (17:20 +0100)
include/deal.II/lac/diagonal_matrix.h

index b30baffcbb3fb77b9a918125f53f1e2cd0e37b4a..1f5a62dc4a7982b62d37b389112f5dd7d7729a95 100644 (file)
@@ -291,6 +291,7 @@ DiagonalMatrix<VectorType>::operator()(const size_type i,
                                        const size_type j)
 {
   Assert (i==j, ExcIndexRange(j,i,i+1));
+  (void)j;
   return diagonal(i);
 }
 

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.