]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
test emptying index set
authorkanschat <kanschat@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 15 Aug 2011 09:57:56 +0000 (09:57 +0000)
committerkanschat <kanschat@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 15 Aug 2011 09:57:56 +0000 (09:57 +0000)
git-svn-id: https://svn.dealii.org/trunk@24068 0785d39b-7218-0410-832d-ea1e28bc413d

tests/lac/block_indices.cc

index 5b7958ca53e7ccee7bfd18851f6d66f8ea0aa655..32110fa1365e420cb916419884b01fed13399456 100644 (file)
@@ -62,6 +62,8 @@ int main()
   deallog << "push:  " << bi0 << std::endl;
   bi0.push_back(2);
   deallog << "push:  " << bi0 << std::endl;
+  bi0.reinit(0,0);
+  deallog << "empty: " << bi0 << std::endl;
   
   BlockIndices bi1(3);
   test(bi1);

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.