From d18c88270bea3960b93a323e9bf94fe8b9afc1e1 Mon Sep 17 00:00:00 2001 From: wolf Date: Fri, 2 Apr 2004 23:52:53 +0000 Subject: [PATCH] Avoid some failure of icc where it doesn't want to accept a typedef for an argument. git-svn-id: https://svn.dealii.org/trunk@8961 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/source/numerics/error_estimator.cc | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/deal.II/deal.II/source/numerics/error_estimator.cc b/deal.II/deal.II/source/numerics/error_estimator.cc index 605943d612..3e1ec03aae 100644 --- a/deal.II/deal.II/source/numerics/error_estimator.cc +++ b/deal.II/deal.II/source/numerics/error_estimator.cc @@ -43,9 +43,9 @@ double sqr (const double x) } -template +template static -void advance_by_n (typename DoFHandler::active_cell_iterator &cell, +void advance_by_n (CellIterator &cell, const unsigned int n) { for (unsigned int t=0; @@ -516,8 +516,7 @@ estimate_some (const Mapping &mapping, // loop over all cells for this thread - for (; cell!=dof_handler.end(); - advance_by_n(cell,this_thread.second)) + for (; cell!=dof_handler.end(); advance_by_n(cell,this_thread.second)) { // loop over all faces of this cell -- 2.39.5