From a16344481f6e19e4950b6cee54bc600f5e109ca1 Mon Sep 17 00:00:00 2001 From: guido Date: Wed, 16 Apr 2003 15:01:01 +0000 Subject: [PATCH] Oops git-svn-id: https://svn.dealii.org/trunk@7401 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/lac/include/lac/sparse_matrix_ez.templates.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deal.II/lac/include/lac/sparse_matrix_ez.templates.h b/deal.II/lac/include/lac/sparse_matrix_ez.templates.h index 89fff09541..c1a6dbfc99 100644 --- a/deal.II/lac/include/lac/sparse_matrix_ez.templates.h +++ b/deal.II/lac/include/lac/sparse_matrix_ez.templates.h @@ -491,13 +491,13 @@ SparseMatrixEZ::block_read (std::istream &in) CHECKFOR(in,'[',c); // then read data - in.read(reinterpret_cast(&row_info[i]), + in.read(reinterpret_cast(&row_info[0]), sizeof(RowInfo) * row_info.size()); CHECKFOR(in,']',c); CHECKFOR(in,'[',c); - in.read(reinterpret_cast(&data[i]), + in.read(reinterpret_cast(&data[0]), sizeof(Entry) * data.size()); CHECKFOR(in,']',c); -- 2.39.5