]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Some minor changes necessary for PGCC4.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 8 Nov 2002 23:19:34 +0000 (23:19 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 8 Nov 2002 23:19:34 +0000 (23:19 +0000)
git-svn-id: https://svn.dealii.org/trunk@6743 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/source/polynomial.cc
deal.II/deal.II/source/grid/tria.cc
deal.II/lac/include/lac/vector.templates.h
deal.II/lac/source/sparse_direct.cc

index 69b83ed706db126164f3ddefa2ee683522525b14..7755f40ca40ed6a30db2fba4c35ce91354156fa4 100644 (file)
@@ -239,7 +239,8 @@ namespace Polynomials
   {
     for (int i=degree();i>=0;--i)
       {
-        out << coefficients[i] << " x^" << i << std::endl;
+        out << static_cast<double>(coefficients[i])
+            << " x^" << i << std::endl;
       }
   }
 
index 7a548d8c3f54b7a84b0e7a0dfd5ebc42371f9688..f451a59391b099bc91667d56072ef7b5c380ca26 100644 (file)
@@ -7051,7 +7051,7 @@ bool Triangulation<dim>::prepare_coarsening_and_refinement () {
                                   //    loop is rather expensive, so
                                   //    we chose the way presented here
   std::vector<bool> flags_before_loop[2] = {flags_before[0],
-                                             flags_before[1]};
+                                            flags_before[1]};
 
                                   // now for what is done in each
                                   // loop: we have to fulfill several
index 39a15fa6b008131d59dd8f7af04cd60a262af6b9..419f4e9e6f6f820c1bfa2231d653b9007da75a05 100644 (file)
@@ -577,10 +577,10 @@ void Vector<Number>::print (std::ostream      &out,
 
   if (across)
     for (unsigned int i=0; i<size(); ++i)
-      out << val[i] << ' ';
+      out << static_cast<double>(val[i]) << ' ';
   else
     for (unsigned int i=0; i<size(); ++i)
-      out << val[i] << std::endl;
+      out << static_cast<double>(val[i]) << std::endl;
   out << std::endl;
   
   AssertThrow (out, ExcIO());
index afffe81efa7b1d624bee1126d23822c2d9aae8d9..13e12ae3c0d75b53419d51bface5deae3972eb1f 100644 (file)
@@ -418,7 +418,7 @@ struct SparseDirectMA27::DetachedModeData
           record_communication<T> (child_pid,
                                    CommunicationsLog::put,
                                    N, count, debug_info);
-      };
+      }
 
     
                                      /**
@@ -451,7 +451,7 @@ struct SparseDirectMA27::DetachedModeData
           record_communication<T> (child_pid,
                                    CommunicationsLog::get,
                                    N, count, debug_info);
-      };
+      }
 };
 
 

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.