From e9d679da28c33d3d1edf19b340bbd3d51ab53589 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Tue, 28 Apr 2009 13:34:47 +0000 Subject: [PATCH] Suggestion by Rostislav Khlebnikov: A call to fill_n was obviously wrong. It's a wonder that this never crashed in the first place. git-svn-id: https://svn.dealii.org/trunk@18764 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/lac/include/lac/chunk_sparse_matrix.templates.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/deal.II/lac/include/lac/chunk_sparse_matrix.templates.h b/deal.II/lac/include/lac/chunk_sparse_matrix.templates.h index 2a68790986..4c7c9d5b11 100644 --- a/deal.II/lac/include/lac/chunk_sparse_matrix.templates.h +++ b/deal.II/lac/include/lac/chunk_sparse_matrix.templates.h @@ -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::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.); -- 2.39.5