From 3724e5d5e94e52ff552cea62e6c375d12f943dd9 Mon Sep 17 00:00:00 2001 From: Uwe Koecher Date: Tue, 25 Jun 2013 08:28:51 +0000 Subject: [PATCH] removed some -Wunused-variable from lac/trilinos_sparse_matrix.h for the optimized version git-svn-id: https://svn.dealii.org/trunk@29892 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/include/deal.II/lac/trilinos_sparse_matrix.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/deal.II/include/deal.II/lac/trilinos_sparse_matrix.h b/deal.II/include/deal.II/lac/trilinos_sparse_matrix.h index 0d775dd943..6c0ba9f7ae 100644 --- a/deal.II/include/deal.II/lac/trilinos_sparse_matrix.h +++ b/deal.II/include/deal.II/lac/trilinos_sparse_matrix.h @@ -3669,6 +3669,9 @@ namespace TrilinosWrappers ExcMessage ("Column map of matrix does not fit with vector map!")); Assert (out.vector_partitioner().SameAs(m.RangeMap()) == true, ExcMessage ("Row map of matrix does not fit with vector map!")); + (void)m; + (void)in; + (void)out; } } } @@ -3682,12 +3685,16 @@ namespace TrilinosWrappers { Assert (&src != &dst, ExcSourceEqualsDestination()); Assert (matrix->Filled(), ExcMatrixNotCompressed()); + (void)src; + (void)dst; internal::SparseMatrix::check_vector_map_equality(*matrix, src, dst); const size_type dst_local_size = dst.end() - dst.begin(); AssertDimension (dst_local_size, static_cast(matrix->RangeMap().NumMyElements())); + (void)dst_local_size; const size_type src_local_size = src.end() - src.begin(); AssertDimension (src_local_size, static_cast(matrix->DomainMap().NumMyElements())); + (void)src_local_size; Epetra_MultiVector tril_dst (View, matrix->RangeMap(), dst.begin(), matrix->DomainMap().NumMyPoints(), 1); -- 2.39.5