From: wolf Date: Tue, 4 Jul 2000 12:24:48 +0000 (+0000) Subject: Never try to take the address of a temporary variable... X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=533eb95d01fe51990d5b624be50477b7317b6e9b;p=dealii-svn.git Never try to take the address of a temporary variable... git-svn-id: https://svn.dealii.org/trunk@3134 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/lac/include/lac/sparse_matrix.h b/deal.II/lac/include/lac/sparse_matrix.h index 228d1a463f..adb40a1c8b 100644 --- a/deal.II/lac/include/lac/sparse_matrix.h +++ b/deal.II/lac/include/lac/sparse_matrix.h @@ -797,7 +797,7 @@ class SparseMatrix : public Subscriptor void threaded_residual (Vector &dst, const Vector &u, const Vector &b, - const pair &interval, + const pair interval, somenumber *partial_norm) const; diff --git a/deal.II/lac/include/lac/sparse_matrix.templates.h b/deal.II/lac/include/lac/sparse_matrix.templates.h index 8244dba032..36a98a23ff 100644 --- a/deal.II/lac/include/lac/sparse_matrix.templates.h +++ b/deal.II/lac/include/lac/sparse_matrix.templates.h @@ -629,7 +629,7 @@ void SparseMatrix::threaded_residual (Vector &dst, const Vector &u, const Vector &b, - const pair &interval, + const pair interval, somenumber *partial_norm) const { const unsigned int begin_row = interval.first,