]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Never try to take the address of a temporary variable...
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 4 Jul 2000 12:24:48 +0000 (12:24 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 4 Jul 2000 12:24:48 +0000 (12:24 +0000)
git-svn-id: https://svn.dealii.org/trunk@3134 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/include/lac/sparse_matrix.h
deal.II/lac/include/lac/sparse_matrix.templates.h

index 228d1a463f898fa72b09ddd44e0b98c218e7ad3c..adb40a1c8b047ac6442e12b3baf1e8feece15a8f 100644 (file)
@@ -797,7 +797,7 @@ class SparseMatrix : public Subscriptor
     void threaded_residual (Vector<somenumber>       &dst,
                            const Vector<somenumber> &u,
                            const Vector<somenumber> &b,
-                           const pair<unsigned int,unsigned int> &interval,
+                           const pair<unsigned int,unsigned int> interval,
                            somenumber               *partial_norm) const;
 
 
index 8244dba032e13eccc311fb818810c58cccf86b30..36a98a23ff6b43f0119d0593fe6238c1a4be412a 100644 (file)
@@ -629,7 +629,7 @@ void
 SparseMatrix<number>::threaded_residual (Vector<somenumber>       &dst,
                                         const Vector<somenumber> &u,
                                         const Vector<somenumber> &b,
-                                        const pair<unsigned int, unsigned int> &interval,
+                                        const pair<unsigned int, unsigned int> interval,
                                         somenumber               *partial_norm) const
 {
   const unsigned int begin_row = interval.first,

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.