From: Wolfgang Bangerth Date: Fri, 11 Jan 2013 00:25:48 +0000 (+0000) Subject: Avoid use of deprecated function. X-Git-Tag: v8.0.0~1602 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=13262b25a1a8c9f7e754d06af01fc197d11ec9ea;p=dealii.git Avoid use of deprecated function. git-svn-id: https://svn.dealii.org/trunk@28009 0785d39b-7218-0410-832d-ea1e28bc413d --- 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; }