]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Avoid a deprecated function.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 11 Jan 2013 00:40:50 +0000 (00:40 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 11 Jan 2013 00:40:50 +0000 (00:40 +0000)
git-svn-id: https://svn.dealii.org/trunk@28010 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/lac/parallel_vector.h

index a10ad71f34dbba768df69657ea6734f64bcaf171..5a86258671f131055f6931c55fc505d57adeacac 100644 (file)
@@ -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 !=
                                    <Number2>(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;
     }
 
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.