From 6469516477560fdaff1b37a7fad2230a5b9ca720 Mon Sep 17 00:00:00 2001 From: bangerth Date: Fri, 1 Sep 2006 16:15:00 +0000 Subject: [PATCH] Minor changes to make code conform to our coding styles. git-svn-id: https://svn.dealii.org/trunk@13786 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/include/fe/fe.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deal.II/deal.II/include/fe/fe.h b/deal.II/deal.II/include/fe/fe.h index ae3ed8c3eb..3be9e369f6 100644 --- a/deal.II/deal.II/include/fe/fe.h +++ b/deal.II/deal.II/include/fe/fe.h @@ -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::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) i, + return std::pair(static_cast (i), index - first_block_of_base_table[i]); return std::make_pair(deal_II_numbers::invalid_unsigned_int, deal_II_numbers::invalid_unsigned_int); -- 2.39.5