]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Suggestion by Rostislav Khlebnikov: A call to fill_n was obviously wrong. It's a...
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Tue, 28 Apr 2009 13:34:47 +0000 (13:34 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Tue, 28 Apr 2009 13:34:47 +0000 (13:34 +0000)
git-svn-id: https://svn.dealii.org/trunk@18764 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/include/lac/chunk_sparse_matrix.templates.h

index 2a68790986bb3692c4e46f8f75f18156a559eac1..4c7c9d5b11c6c3bebd1af419b319d0c2c011f0a6 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2008 by the deal.II authors
+//    Copyright (C) 2008, 2009 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -278,7 +278,6 @@ ChunkSparseMatrix<number>::operator = (const double d)
     {
       const unsigned int chunk_size = cols->get_chunk_size();
       std::fill_n (val,
-                  val +
                   cols->sparsity_pattern.n_nonzero_elements() *
                   chunk_size * chunk_size,
                   0.);

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.