From 301ac15cb4133dfe15eeca3cc1511ac72f55cf82 Mon Sep 17 00:00:00 2001 From: frohne Date: Wed, 7 Mar 2012 18:09:21 +0000 Subject: [PATCH] add a comment to the diag_element () function git-svn-id: https://svn.dealii.org/trunk@25219 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/include/deal.II/lac/trilinos_sparse_matrix.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 eefffa61a0..da004a6cab 100644 --- a/deal.II/include/deal.II/lac/trilinos_sparse_matrix.h +++ b/deal.II/include/deal.II/lac/trilinos_sparse_matrix.h @@ -1619,7 +1619,11 @@ namespace TrilinosWrappers * element in the ith * row. This function throws an * error if the matrix is not - * quadratic. + * quadratic and it also throws + * an error if (i,i) is not + * element of the local matrix. + * See also the comment in + * trilinos_sparse_matrix.cc. */ TrilinosScalar diag_element (const unsigned int i) const; -- 2.39.5