From 724ac687914976005b5ec631d8c9fdcfdd29d063 Mon Sep 17 00:00:00 2001 From: David Wells Date: Thu, 15 Mar 2018 16:03:12 -0400 Subject: [PATCH] Fix some (rectangular) FullMatrix methods. --- include/deal.II/lac/full_matrix.templates.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/include/deal.II/lac/full_matrix.templates.h b/include/deal.II/lac/full_matrix.templates.h index b511693b1f..9859a8992e 100644 --- a/include/deal.II/lac/full_matrix.templates.h +++ b/include/deal.II/lac/full_matrix.templates.h @@ -255,10 +255,10 @@ number FullMatrix::residual (Vector &dst, number res = 0.; const size_type size_m = m(), size_n = n(); - for (size_type i=0; i::add_row (const size_type i, { Assert (!this->empty(), ExcEmptyMatrix()); - for (size_type k=0; k::add_row (const size_type i, { Assert (!this->empty(), ExcEmptyMatrix()); - const size_type size_m = m(); + const size_type size_m = n(); for (size_type l=0; l::add_col (const size_type i, const number s, { Assert (!this->empty(), ExcEmptyMatrix()); - for (size_type k=0; k::add_col (const size_type i, const number s, { Assert (!this->empty(), ExcEmptyMatrix()); - for (size_t l=0; l