From: young Date: Sat, 19 Oct 2013 14:41:09 +0000 (+0000) Subject: Correct some comments. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=444032b1f33a7636c20eb64a37cf1abc7fb6bb78;p=dealii-svn.git Correct some comments. git-svn-id: https://svn.dealii.org/branches/branch_petscscalar_complex@31317 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/petsc_scalar_complex/element_access_01.cc b/tests/petsc_scalar_complex/element_access_01.cc index 84904fe36d..a293cf3c79 100644 --- a/tests/petsc_scalar_complex/element_access_01.cc +++ b/tests/petsc_scalar_complex/element_access_01.cc @@ -26,9 +26,7 @@ #include -// test dealii::internal::VectorReference::real() -// test dealii::internal::VectorReference::imag() -// on vector and matrix +// test read/write access to matrices using explicit cast always. // sparse matrix elements void test_matrix (PETScWrappers::SparseMatrix &m) diff --git a/tests/petsc_scalar_complex/element_access_02.cc b/tests/petsc_scalar_complex/element_access_02.cc index 1fc62730c7..62d79cd28b 100644 --- a/tests/petsc_scalar_complex/element_access_02.cc +++ b/tests/petsc_scalar_complex/element_access_02.cc @@ -26,14 +26,16 @@ #include -// test dealii::internal::VectorReference::real() -// test dealii::internal::VectorReference::imag() -// test element access (read/write) on matrix +// test read/write access to matrices AS IS (no cast). +// + +// Note: this test fails where an -1.*(unsigned integer) is used as +// the input value to a matrix element. This needs to be fixed. // sparse matrix elements void test_matrix (PETScWrappers::SparseMatrix &m) { - deallog << "Check 02 matrix access" << std::endl; + deallog << "Check matrix access" << std::endl; // fill up a matrix with some numbers for (unsigned int k=0; k