]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Remove a chunk of dead code.
authoryoung <young@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 19 Oct 2013 19:10:44 +0000 (19:10 +0000)
committeryoung <young@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 19 Oct 2013 19:10:44 +0000 (19:10 +0000)
git-svn-id: https://svn.dealii.org/trunk@31323 0785d39b-7218-0410-832d-ea1e28bc413d

tests/petsc/vector_print.cc

index 443bc4da747a563183be798e7e0775ae49ee29f5..8e5dc944211c2d89e7ab05527d7392b76a360ddc 100644 (file)
 #include <vector>
 
 
-void test (PETScWrappers::Vector &v,
-           PETScWrappers::Vector &w)
-{
-  // set the first vector
-  for (unsigned int i=0; i<v.size(); ++i)
-    v(i) = i;
-
-  // copy elements by reference
-  for (unsigned int i=0; i<v.size(); ++i)
-    w(i) = v(i);
-
-  // check that they're equal
-  Assert (v==w, ExcInternalError());
-
-  deallog << "OK" << std::endl;
-}
-
-
-
 int main (int argc, char **argv)
 {
   std::ofstream logfile("vector_print/output");

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.