]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Minor changes to make code conform to our coding styles.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 1 Sep 2006 16:15:00 +0000 (16:15 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 1 Sep 2006 16:15:00 +0000 (16:15 +0000)
git-svn-id: https://svn.dealii.org/trunk@13786 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/include/fe/fe.h

index ae3ed8c3eb3779fab4cf76d3bca8073897e81d10..3be9e369f6970f2a81d089ba815c4e046340d2e9 100644 (file)
@@ -1388,7 +1388,7 @@ class FiniteElement : public Subscriptor,
                                      * return the first block of a
                                      * BlockVector it would generate.
                                      */
-    unsigned int first_block_of_base(unsigned int b) const;
+    unsigned int first_block_of_base (const unsigned int b) const;
     
                                     /**
                                      * For each vector component,
@@ -2513,7 +2513,7 @@ FiniteElement<dim>::block_to_base_index (const unsigned int index) const
   
   for (int i=first_block_of_base_table.size()-1; i>=0; --i)
     if (first_block_of_base_table[i] <= index)
-      return std::pair<unsigned int, unsigned int>((unsigned int) i,
+      return std::pair<unsigned int, unsigned int>(static_cast<unsigned int> (i),
                                                   index - first_block_of_base_table[i]);
   return std::make_pair(deal_II_numbers::invalid_unsigned_int,
                        deal_II_numbers::invalid_unsigned_int);

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.