]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Add two TODOs for Guido.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 14 Apr 2003 14:47:18 +0000 (14:47 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 14 Apr 2003 14:47:18 +0000 (14:47 +0000)
git-svn-id: https://svn.dealii.org/trunk@7393 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/include/lac/sparse_matrix_ez.h

index 880d90b3a9bbb48c790539cb9d6d07a196f00c44..158c276dab49b45479f080f2496b270bf6f86c0f 100644 (file)
@@ -1118,6 +1118,7 @@ inline
 typename SparseMatrixEZ<number>::const_iterator&
 SparseMatrixEZ<number>::const_iterator::operator++ ()
 {
+//TODO[GK]: exclude entries with column index -1, i.e. simply jump over them  
   Assert (accessor.a_row < accessor.matrix->m(), ExcIteratorPastEnd());
   
   ++(accessor.a_index);
@@ -1320,6 +1321,8 @@ void SparseMatrixEZ<number>::set (const unsigned int i,
 {
   Assert (i<m(), ExcIndexRange(i,0,m()));
   Assert (j<n(), ExcIndexRange(j,0,n()));
+
+//TODO[GK]: Do as the documentation promises: ignore zero values. The complication is that we should ignore the zero entry if no entry is there already, but set an existing entry to zero
   Entry* entry = allocate(i,j);
   entry->value = value;
 }

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.