From: wolf Date: Mon, 24 Sep 2001 09:27:51 +0000 (+0000) Subject: Revert order of args in std::distance. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b66be2a8964d13f71fd5293b8e3ea2bad48a6af1;p=dealii-svn.git Revert order of args in std::distance. git-svn-id: https://svn.dealii.org/trunk@5035 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/examples/step-11/step-11.cc b/deal.II/examples/step-11/step-11.cc index b2343e34c8..9fb341197e 100644 --- a/deal.II/examples/step-11/step-11.cc +++ b/deal.II/examples/step-11/step-11.cc @@ -185,10 +185,10 @@ void LaplaceProblem::setup_system () // element in the array to get its // index: const unsigned int first_boundary_dof - = std::distance (std::find (boundary_dofs.begin(), + = std::distance (boundary_dofs.begin(), + std::find (boundary_dofs.begin(), boundary_dofs.end(), - true), - boundary_dofs.begin()); + true)); // Then generate a constraints // object with just this one