]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Use the right kind of cast.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Tue, 16 Feb 2010 13:51:35 +0000 (13:51 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Tue, 16 Feb 2010 13:51:35 +0000 (13:51 +0000)
git-svn-id: https://svn.dealii.org/trunk@20647 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/fe/fe_values.cc

index 8745dedd1eff24aa5aa35b362d47861fa080e0fa..4134d62af22fd019c58f548f86ab41e0e544961f 100644 (file)
@@ -3038,7 +3038,7 @@ FEValuesBase<dim,spacedim>::check_cell_similarity
       cell_similarity = CellSimilarity::none;
     else
       cell_similarity = (cell->is_translation_of
-                        (static_cast<const typename Triangulation<dim,spacedim>::cell_iterator>(*this->present_cell))
+                        (static_cast<const typename Triangulation<dim,spacedim>::cell_iterator &>(*this->present_cell))
                         ?
                         CellSimilarity::translation
                         :

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.