]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Bug fix.
authoryoung <young@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 14 Feb 2014 10:40:56 +0000 (10:40 +0000)
committeryoung <young@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 14 Feb 2014 10:40:56 +0000 (10:40 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_petscscalar_complex@32484 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/lac/constraint_matrix.h

index f548a69857a26d84c3640bf02fb1f3f92a4e581e..c579960de774bd25ab3e68b9f60649b9d6e63265 100644 (file)
@@ -957,13 +957,13 @@ public:
    * Same as above for complex.
    */
   template <typename MatrixType, typename VectorType>
-  void
+    void
     distribute_local_to_global (const FullMatrix<std::complex<double> > &local_matrix,
-                              const Vector<double>                      &local_vector,
-                              const std::vector<size_type>              &local_dof_indices,
-                              MatrixType                                &global_matrix,
-                              VectorType                                &global_vector,
-                              bool                                      use_inhomogeneities_for_rhs = false) const;
+                               const Vector<std::complex<double> >     &local_vector,
+                               const std::vector<size_type>            &local_dof_indices,
+                               MatrixType                              &global_matrix,
+                               VectorType                              &global_vector,
+                               bool                                    use_inhomogeneities_for_rhs = false) const;
 
   /**
    * Do a similar operation as the distribute_local_to_global() function that
@@ -1781,15 +1781,15 @@ distribute_local_to_global (const FullMatrix<double>     &local_matrix,
 
 // Complex case (maybe can be merged with the function above)
 template <typename MatrixType, typename VectorType>
-inline
-void
-ConstraintMatrix::
+  inline
+  void
+  ConstraintMatrix::
   distribute_local_to_global (const FullMatrix<std::complex<double> > &local_matrix,
                              const Vector<std::complex<double> >     &local_vector,
-                            const std::vector<size_type>              &local_dof_indices,
-                            MatrixType                                &global_matrix,
-                            VectorType                                &global_vector,
-                            bool                                      use_inhomogeneities_for_rhs) const
+                             const std::vector<size_type>            &local_dof_indices,
+                             MatrixType                              &global_matrix,
+                             VectorType                              &global_vector,
+                             bool                                     use_inhomogeneities_for_rhs) const
 {
   // enter the internal function with the respective block information set,
   // the actual implementation follows in the cm.templates.h file.

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.