From: bangerth Date: Tue, 5 Aug 2008 19:14:48 +0000 (+0000) Subject: Fix use of wrong index. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=14893dbc1a7f1a406fbb6b17b4fccc4a3ab8ca36;p=dealii-svn.git Fix use of wrong index. git-svn-id: https://svn.dealii.org/trunk@16492 0785d39b-7218-0410-832d-ea1e28bc413d --- 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