]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Resolve TODO.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 29 Jul 2002 09:13:06 +0000 (09:13 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 29 Jul 2002 09:13:06 +0000 (09:13 +0000)
git-svn-id: https://svn.dealii.org/trunk@6300 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/source/compressed_sparsity_pattern.cc

index 51c9d865bd8a46f4f6cfe4aa8b966332289ff1ad..9f693e32c4a5cd58b045d7c70f90e8c5f2da12dc 100644 (file)
@@ -131,9 +131,7 @@ CompressedSparsityPattern::exists (const unsigned int i,
 {
   Assert (i<rows, ExcInvalidIndex(i,rows));
   Assert (j<cols, ExcInvalidIndex(j,cols));
-//TODO: Ask Wolfgang on how to use column_indices
-  Assert(false, ExcNotImplemented());
-  return true;
+  return (column_indices[i].find(j) != column_indices[i].end());
 }
 
 

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.