From: bangerth Date: Fri, 11 Jan 2013 00:25:48 +0000 (+0000) Subject: Avoid use of deprecated function. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=54f8fd35be0841766dc873a5ead2fbe142897db7;p=dealii-svn.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; }