From 5ad851cddf5212aefec0e1c5301b998eefffe25a Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Mon, 24 Sep 2001 09:27:51 +0000 Subject: [PATCH] Revert order of args in std::distance. git-svn-id: https://svn.dealii.org/trunk@5035 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/examples/step-11/step-11.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 2.39.5