From 14893dbc1a7f1a406fbb6b17b4fccc4a3ab8ca36 Mon Sep 17 00:00:00 2001 From: bangerth Date: Tue, 5 Aug 2008 19:14:48 +0000 Subject: [PATCH] Fix use of wrong index. git-svn-id: https://svn.dealii.org/trunk@16492 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/bits/sparse_matrix_01.cc | 4 ++-- tests/bits/sparse_matrix_01a.cc | 4 ++-- tests/bits/sparse_matrix_02.cc | 4 ++-- tests/bits/sparse_matrix_03.cc | 4 ++-- tests/bits/sparse_matrix_03a.cc | 6 +++--- tests/bits/sparse_matrix_03b.cc | 6 +++--- tests/bits/sparse_matrix_05.cc | 2 +- tests/bits/sparse_matrix_05a.cc | 2 +- tests/bits/sparse_matrix_06.cc | 2 +- tests/bits/sparse_matrix_07.cc | 2 +- tests/bits/sparse_matrix_08.cc | 2 +- tests/bits/sparse_matrix_09.cc | 4 ++-- tests/bits/sparse_matrix_10.cc | 4 ++-- tests/bits/sparse_matrix_vector_01.cc | 4 ++-- tests/bits/sparse_matrix_vector_02.cc | 4 ++-- tests/bits/sparse_matrix_vector_03.cc | 4 ++-- tests/bits/sparse_matrix_vector_04.cc | 4 ++-- tests/bits/sparse_matrix_vector_05.cc | 4 ++-- tests/bits/sparse_matrix_vector_06.cc | 4 ++-- tests/bits/sparse_matrix_vector_07.cc | 4 ++-- 20 files changed, 37 insertions(+), 37 deletions(-) diff --git a/tests/bits/sparse_matrix_01.cc b/tests/bits/sparse_matrix_01.cc index e545109e24..61b01c66db 100644 --- a/tests/bits/sparse_matrix_01.cc +++ b/tests/bits/sparse_matrix_01.cc @@ -34,13 +34,13 @@ void test () // first set a few entries for (unsigned int i=0; i &v, // then create a matrix from that SparseMatrix m(sp); for (unsigned int i=0; i &v, Assert (v(i) == i, ExcInternalError()); double result = 0; - for (unsigned int j=0; j &v, // then create a matrix from that SparseMatrix m(sp); for (unsigned int i=0; i &v, Assert (v(i) == i, ExcInternalError()); double result = 0; - for (unsigned int j=0; j &v, // then create a matrix from that SparseMatrix m(sp); for (unsigned int i=0; i &v, Assert (v(i) == i, ExcInternalError()); double result = 0; - for (unsigned int j=0; j &v, // then create a matrix from that SparseMatrix m(sp); for (unsigned int i=0; i &v, Assert (v(i) == i, ExcInternalError()); double result = 0; - for (unsigned int j=0; j &v, // then create a matrix from that SparseMatrix m(sp); for (unsigned int i=0; i &v, double result = 0; for (unsigned int i=0; i &v) // then create a matrix from that SparseMatrix m(sp); for (unsigned int i=0; i &v) double result = 0; for (unsigned int i=0; i &v, // then create a matrix from that SparseMatrix m(sp); for (unsigned int i=0; i &v, Assert (w(i) == i+1, ExcInternalError()); double result = i+1; - for (unsigned int j=0; j