]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Replace invalid form of taking address of a member function.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 18 Dec 2002 20:28:44 +0000 (20:28 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 18 Dec 2002 20:28:44 +0000 (20:28 +0000)
git-svn-id: https://svn.dealii.org/trunk@6853 0785d39b-7218-0410-832d-ea1e28bc413d

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

index db7d609be0e1563ebf90f4cf1e9e812ae547dc0c..3f235788aedf51e86259bf77d2617cec4c23a141 100644 (file)
@@ -313,8 +313,8 @@ SparseMatrix<number>::vmult (Vector<somenumber>& dst,
         const unsigned int        ,
         const unsigned int) const;
       const mem_fun_p comp
-       = &(SparseMatrix<number>::
-           template threaded_vmult<somenumber>);
+       = (&SparseMatrix<number>::
+           template threaded_vmult<somenumber>);
       Threads::ThreadManager thread_manager;
       for (unsigned int i=0; i<n_threads; ++i)
        Threads::spawn (thread_manager,
@@ -483,8 +483,8 @@ SparseMatrix<number>::matrix_norm_square (const Vector<somenumber>& v) const
         const unsigned int        ,
         somenumber               *) const;
       const mem_fun_p comp
-       = &(SparseMatrix<number>::
-           template threaded_matrix_norm_square<somenumber>);
+       = (&SparseMatrix<number>::
+           template threaded_matrix_norm_square<somenumber>);
       for (unsigned int i=0; i<n_threads; ++i)
        Threads::spawn (thread_manager,
                        Threads::encapsulate (comp)
@@ -597,8 +597,8 @@ SparseMatrix<number>::matrix_scalar_product (const Vector<somenumber>& u,
         const unsigned int        ,
         somenumber               *) const;
       const mem_fun_p comp
-       = &(SparseMatrix<number>::
-           template threaded_matrix_scalar_product<somenumber>);
+       = (&SparseMatrix<number>::
+           template threaded_matrix_scalar_product<somenumber>);
       for (unsigned int i=0; i<n_threads; ++i)
        Threads::spawn (thread_manager,
                        Threads::encapsulate (comp)

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.