From 757dba6a21b1977790ce3150750a30d140d94f88 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Fri, 21 Aug 2015 14:37:06 -0500 Subject: [PATCH] Fix tests in 64-bit mode. Both tests did not use types::global_dof_index and therefore failed in 64-bit mode. --- tests/sharedtria/dof_01.cc | 4 ++-- tests/sharedtria/dof_02.cc | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/sharedtria/dof_01.cc b/tests/sharedtria/dof_01.cc index 4fa58f201b..fd2c669f62 100644 --- a/tests/sharedtria/dof_01.cc +++ b/tests/sharedtria/dof_01.cc @@ -1,7 +1,7 @@ // --------------------------------------------------------------------- // $Id: dof_handler_number_cache.cc 31761 2013-11-22 14:42:37Z heister $ // -// Copyright (C) 2008 - 2013 by the deal.II authors +// Copyright (C) 2008 - 2013, 2015 by the deal.II authors // // This file is part of the deal.II library. // @@ -97,7 +97,7 @@ void test() << "n_locally_owned_dofs: " << dof_handler.n_locally_owned_dofs() << std::endl; deallog << "n_locally_owned_dofs_per_processor: "; - std::vector v = dof_handler.n_locally_owned_dofs_per_processor(); + std::vector v = dof_handler.n_locally_owned_dofs_per_processor(); unsigned int sum = 0; for (unsigned int i=0;i v = dof_handler.n_locally_owned_dofs_per_processor(); + std::vector v = dof_handler.n_locally_owned_dofs_per_processor(); unsigned int sum = 0; for (unsigned int i=0;i