]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Remove a question (ie. comment).
authoryoung <young@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 10 Mar 2014 10:21:39 +0000 (10:21 +0000)
committeryoung <young@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 10 Mar 2014 10:21:39 +0000 (10:21 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_petscscalar_complex@32632 0785d39b-7218-0410-832d-ea1e28bc413d

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

index 704dd279819041c6c2a1ca36a3029092001780dc..0b5a3bb027ccbfef0fd5778591a7c3aca4d6aa6c 100644 (file)
@@ -2243,7 +2243,7 @@ add_this_index:
       {
        LocalType average_diagonal = 0;
         for (size_type i=0; i<local_matrix.m(); ++i)
-          average_diagonal += std::abs (local_matrix(i,i)); // @whattodo: Is it ok to do abs over complex?
+          average_diagonal += std::abs (local_matrix(i,i));
         average_diagonal /= static_cast<double>(local_matrix.m());
 
         for (size_type i=0; i<global_rows.n_constraints(); i++)

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.