From 54f8fd35be0841766dc873a5ead2fbe142897db7 Mon Sep 17 00:00:00 2001 From: bangerth Date: Fri, 11 Jan 2013 00:25:48 +0000 Subject: [PATCH] Avoid use of deprecated function. git-svn-id: https://svn.dealii.org/trunk@28009 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/include/deal.II/lac/block_vector.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deal.II/include/deal.II/lac/block_vector.h b/deal.II/include/deal.II/lac/block_vector.h index 2ce6364d1b..5502e1ba78 100644 --- a/deal.II/include/deal.II/lac/block_vector.h +++ b/deal.II/include/deal.II/lac/block_vector.h @@ -1,7 +1,7 @@ //--------------------------------------------------------------------------- // $Id$ // -// Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 by the deal.II authors +// Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012, 2013 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer @@ -556,7 +556,7 @@ void BlockVector::scale (const value_type factor) Assert (numbers::is_finite(factor), ExcNumberNotFinite()); for (unsigned int i=0; in_blocks(); ++i) - this->components[i].scale(factor); + this->components[i] *= factor; } -- 2.39.5