From afa63da6c930324ccb9af0f717ae47b2abcf6388 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Fri, 11 Jan 2013 00:40:50 +0000 Subject: [PATCH] Avoid a deprecated function. git-svn-id: https://svn.dealii.org/trunk@28010 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/include/deal.II/lac/parallel_vector.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/deal.II/include/deal.II/lac/parallel_vector.h b/deal.II/include/deal.II/lac/parallel_vector.h index a10ad71f34..5a86258671 100644 --- a/deal.II/include/deal.II/lac/parallel_vector.h +++ b/deal.II/include/deal.II/lac/parallel_vector.h @@ -2,7 +2,7 @@ // $Id$ // Version: $Name$ // -// Copyright (C) 2011, 2012 by deal.II authors +// Copyright (C) 2011, 2012, 2013 by deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer @@ -1220,7 +1220,7 @@ namespace parallel vector_view.template operator != (v.vector_view) : 0 ); - unsigned int result = + unsigned int result = partitioner->n_mpi_processes() > 1 ? Utilities::MPI::max(local_result, partitioner->get_communicator()) @@ -1769,7 +1769,7 @@ namespace parallel // but this might happen on some processors // for parallel implementation if (local_size()>0) - vector_view.scale (factor); + vector_view *= factor; } -- 2.39.5